home *** CD-ROM | disk | FTP | other *** search
Unknown | 1999-09-27 | 13.3 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 75 d4 01 63 6c 61 73 73 |........|u..class|
|00000010| 20 55 42 72 6f 77 73 65 | 72 53 65 72 76 65 72 4c | UBrowse|rServerL|
|00000020| 69 73 74 57 69 6e 64 6f | 77 20 65 78 74 65 6e 64 |istWindo|w extend|
|00000030| 73 20 55 57 69 6e 64 6f | 77 50 61 67 65 57 69 6e |s UWindo|wPageWin|
|00000040| 64 6f 77 0d 0a 09 50 65 | 72 4f 62 6a 65 63 74 43 |dow...Pe|rObjectC|
|00000050| 6f 6e 66 69 67 3b 0d 0a | 0d 0a 76 61 72 20 63 6f |onfig;..|..var co|
|00000060| 6e 66 69 67 20 73 74 72 | 69 6e 67 09 09 09 09 53 |nfig str|ing....S|
|00000070| 65 72 76 65 72 4c 69 73 | 74 54 69 74 6c 65 3b 09 |erverLis|tTitle;.|
|00000080| 2f 2f 20 4e 6f 6e 2d 6c | 6f 63 61 6c 69 7a 65 64 |// Non-l|ocalized|
|00000090| 20 70 61 67 65 20 74 69 | 74 6c 65 0d 0a 76 61 72 | page ti|tle..var|
|000000a0| 20 63 6f 6e 66 69 67 20 | 73 74 72 69 6e 67 09 09 | config |string..|
|000000b0| 09 09 4c 69 73 74 46 61 | 63 74 6f 72 69 65 73 5b |..ListFa|ctories[|
|000000c0| 31 30 5d 3b 0d 0a 76 61 | 72 20 63 6f 6e 66 69 67 |10];..va|r config|
|000000d0| 20 73 74 72 69 6e 67 09 | 09 09 09 55 52 4c 41 70 | string.|...URLAp|
|000000e0| 70 65 6e 64 3b 0d 0a 76 | 61 72 20 63 6f 6e 66 69 |pend;..v|ar confi|
|000000f0| 67 20 69 6e 74 09 09 09 | 09 09 41 75 74 6f 52 65 |g int...|..AutoRe|
|00000100| 66 72 65 73 68 54 69 6d | 65 3b 0d 0a 76 61 72 20 |freshTim|e;..var |
|00000110| 63 6f 6e 66 69 67 20 62 | 6f 6f 6c 09 09 09 09 09 |config b|ool.....|
|00000120| 62 4e 6f 41 75 74 6f 53 | 6f 72 74 3b 0d 0a 76 61 |bNoAutoS|ort;..va|
|00000130| 72 20 63 6f 6e 66 69 67 | 20 62 6f 6f 6c 09 09 09 |r config| bool...|
|00000140| 09 09 62 48 69 64 64 65 | 6e 3b 0d 0a 76 61 72 20 |..bHidde|n;..var |
|00000150| 63 6f 6e 66 69 67 20 62 | 6f 6f 6c 09 09 09 09 09 |config b|ool.....|
|00000160| 62 46 61 6c 6c 62 61 63 | 6b 46 61 63 74 6f 72 69 |bFallbac|kFactori|
|00000170| 65 73 3b 0d 0a 0d 0a 76 | 61 72 20 73 74 72 69 6e |es;....v|ar strin|
|00000180| 67 09 09 09 09 09 09 53 | 65 72 76 65 72 4c 69 73 |g......S|erverLis|
|00000190| 74 43 6c 61 73 73 4e 61 | 6d 65 3b 0d 0a 76 61 72 |tClassNa|me;..var|
|000001a0| 20 63 6c 61 73 73 3c 55 | 42 72 6f 77 73 65 72 53 | class<U|BrowserS|
|000001b0| 65 72 76 65 72 4c 69 73 | 74 3e 09 53 65 72 76 65 |erverLis|t>.Serve|
|000001c0| 72 4c 69 73 74 43 6c 61 | 73 73 3b 0d 0a 0d 0a 76 |rListCla|ss;....v|
|000001d0| 61 72 20 55 42 72 6f 77 | 73 65 72 53 65 72 76 65 |ar UBrow|serServe|
|000001e0| 72 4c 69 73 74 09 09 09 | 50 69 6e 67 65 64 4c 69 |rList...|PingedLi|
|000001f0| 73 74 3b 0d 0a 76 61 72 | 20 55 42 72 6f 77 73 65 |st;..var| UBrowse|
|00000200| 72 53 65 72 76 65 72 4c | 69 73 74 09 09 09 55 6e |rServerL|ist...Un|
|00000210| 70 69 6e 67 65 64 4c 69 | 73 74 3b 0d 0a 0d 0a 76 |pingedLi|st;....v|
|00000220| 61 72 20 55 42 72 6f 77 | 73 65 72 53 65 72 76 65 |ar UBrow|serServe|
|00000230| 72 4c 69 73 74 46 61 63 | 74 6f 72 79 09 46 61 63 |rListFac|tory.Fac|
|00000240| 74 6f 72 69 65 73 5b 31 | 30 5d 3b 0d 0a 76 61 72 |tories[1|0];..var|
|00000250| 20 69 6e 74 09 09 09 09 | 09 09 09 51 75 65 72 79 | int....|...Query|
|00000260| 44 6f 6e 65 5b 31 30 5d | 3b 0d 0a 76 61 72 20 55 |Done[10]|;..var U|
|00000270| 42 72 6f 77 73 65 72 53 | 65 72 76 65 72 47 72 69 |BrowserS|erverGri|
|00000280| 64 09 09 09 47 72 69 64 | 3b 0d 0a 76 61 72 20 73 |d...Grid|;..var s|
|00000290| 74 72 69 6e 67 09 09 09 | 09 09 09 47 72 69 64 43 |tring...|...GridC|
|000002a0| 6c 61 73 73 3b 0d 0a 76 | 61 72 20 66 6c 6f 61 74 |lass;..v|ar float|
|000002b0| 09 09 09 09 09 09 54 69 | 6d 65 45 6c 61 70 73 65 |......Ti|meElapse|
|000002c0| 64 3b 0d 0a 76 61 72 20 | 62 6f 6f 6c 09 09 09 09 |d;..var |bool....|
|000002d0| 09 09 62 50 69 6e 67 53 | 75 73 70 65 6e 64 3b 0d |..bPingS|uspend;.|
|000002e0| 0a 76 61 72 20 62 6f 6f | 6c 09 09 09 09 09 09 62 |.var boo|l......b|
|000002f0| 50 69 6e 67 52 65 73 75 | 6d 65 3b 0d 0a 76 61 72 |PingResu|me;..var|
|00000300| 20 62 6f 6f 6c 09 09 09 | 09 09 09 62 50 69 6e 67 | bool...|...bPing|
|00000310| 52 65 73 75 6d 65 49 6e | 74 69 61 6c 3b 0d 0a 76 |ResumeIn|tial;..v|
|00000320| 61 72 20 62 6f 6f 6c 09 | 09 09 09 09 09 62 4e 6f |ar bool.|.....bNo|
|00000330| 53 6f 72 74 3b 0d 0a 76 | 61 72 20 62 6f 6f 6c 09 |Sort;..v|ar bool.|
|00000340| 09 09 09 09 09 62 53 75 | 73 70 65 6e 64 50 69 6e |.....bSu|spendPin|
|00000350| 67 4f 6e 43 6c 6f 73 65 | 3b 0d 0a 76 61 72 20 55 |gOnClose|;..var U|
|00000360| 42 72 6f 77 73 65 72 53 | 75 62 73 65 74 4c 69 73 |BrowserS|ubsetLis|
|00000370| 74 09 09 09 53 75 62 73 | 65 74 4c 69 73 74 3b 0d |t...Subs|etList;.|
|00000380| 0a 76 61 72 20 55 42 72 | 6f 77 73 65 72 53 75 70 |.var UBr|owserSup|
|00000390| 65 72 73 65 74 4c 69 73 | 74 09 09 53 75 70 65 72 |ersetLis|t..Super|
|000003a0| 73 65 74 4c 69 73 74 3b | 0d 0a 76 61 72 20 63 6c |setList;|..var cl|
|000003b0| 61 73 73 3c 55 42 72 6f | 77 73 65 72 52 69 67 68 |ass<UBro|wserRigh|
|000003c0| 74 43 6c 69 63 6b 4d 65 | 6e 75 3e 09 52 69 67 68 |tClickMe|nu>.Righ|
|000003d0| 74 43 6c 69 63 6b 4d 65 | 6e 75 43 6c 61 73 73 3b |tClickMe|nuClass;|
|000003e0| 0d 0a 76 61 72 20 62 6f | 6f 6c 09 09 09 09 09 09 |..var bo|ol......|
|000003f0| 62 53 68 6f 77 46 61 69 | 6c 65 64 53 65 72 76 65 |bShowFai|ledServe|
|00000400| 72 73 3b 0d 0a 76 61 72 | 20 62 6f 6f 6c 09 09 09 |rs;..var| bool...|
|00000410| 09 09 09 62 48 61 64 49 | 6e 69 74 69 61 6c 52 65 |...bHadI|nitialRe|
|00000420| 66 72 65 73 68 3b 0d 0a | 76 61 72 20 69 6e 74 09 |fresh;..|var int.|
|00000430| 09 09 09 09 09 09 46 61 | 6c 6c 62 61 63 6b 46 61 |......Fa|llbackFa|
|00000440| 63 74 6f 72 79 3b 0d 0a | 0d 0a 76 61 72 20 55 57 |ctory;..|..var UW|
|00000450| 69 6e 64 6f 77 56 53 70 | 6c 69 74 74 65 72 09 09 |indowVSp|litter..|
|00000460| 09 56 53 70 6c 69 74 74 | 65 72 3b 0d 0a 76 61 72 |.VSplitt|er;..var|
|00000470| 20 55 42 72 6f 77 73 65 | 72 49 6e 66 6f 57 69 6e | UBrowse|rInfoWin|
|00000480| 64 6f 77 09 09 09 49 6e | 66 6f 57 69 6e 64 6f 77 |dow...In|foWindow|
|00000490| 3b 0d 0a 76 61 72 20 55 | 42 72 6f 77 73 65 72 49 |;..var U|BrowserI|
|000004a0| 6e 66 6f 43 6c 69 65 6e | 74 57 69 6e 64 6f 77 09 |nfoClien|tWindow.|
|000004b0| 49 6e 66 6f 43 6c 69 65 | 6e 74 3b 0d 0a 76 61 72 |InfoClie|nt;..var|
|000004c0| 20 55 42 72 6f 77 73 65 | 72 53 65 72 76 65 72 4c | UBrowse|rServerL|
|000004d0| 69 73 74 09 09 09 49 6e | 66 6f 49 74 65 6d 3b 0d |ist...In|foItem;.|
|000004e0| 0a 76 61 72 20 6c 6f 63 | 61 6c 69 7a 65 64 20 73 |.var loc|alized s|
|000004f0| 74 72 69 6e 67 09 09 09 | 49 6e 66 6f 4e 61 6d 65 |tring...|InfoName|
|00000500| 3b 0d 0a 0d 0a 63 6f 6e | 73 74 20 4d 69 6e 48 65 |;....con|st MinHe|
|00000510| 69 67 68 74 46 6f 72 53 | 70 6c 69 74 74 65 72 20 |ightForS|plitter |
|00000520| 3d 20 33 38 34 3b 0d 0a | 0d 0a 2f 2f 20 53 74 61 |= 384;..|..// Sta|
|00000530| 74 75 73 20 69 6e 66 6f | 0d 0a 65 6e 75 6d 20 45 |tus info|..enum E|
|00000540| 50 69 6e 67 53 74 61 74 | 65 0d 0a 7b 0d 0a 09 50 |PingStat|e..{...P|
|00000550| 53 5f 51 75 65 72 79 53 | 65 72 76 65 72 2c 0d 0a |S_QueryS|erver,..|
|00000560| 09 50 53 5f 51 75 65 72 | 79 46 61 69 6c 65 64 2c |.PS_Quer|yFailed,|
|00000570| 0d 0a 09 50 53 5f 50 69 | 6e 67 69 6e 67 2c 0d 0a |...PS_Pi|nging,..|
|00000580| 09 50 53 5f 52 65 50 69 | 6e 67 69 6e 67 2c 0d 0a |.PS_RePi|nging,..|
|00000590| 09 50 53 5f 44 6f 6e 65 | 0d 0a 7d 3b 0d 0a 0d 0a |.PS_Done|..};....|
|000005a0| 76 61 72 20 6c 6f 63 61 | 6c 69 7a 65 64 20 73 74 |var loca|lized st|
|000005b0| 72 69 6e 67 09 09 09 50 | 6c 61 79 65 72 43 6f 75 |ring...P|layerCou|
|000005c0| 6e 74 4e 61 6d 65 3b 0d | 0a 76 61 72 20 6c 6f 63 |ntName;.|.var loc|
|000005d0| 61 6c 69 7a 65 64 20 73 | 74 72 69 6e 67 09 09 09 |alized s|tring...|
|000005e0| 53 65 72 76 65 72 43 6f | 75 6e 74 4e 61 6d 65 3b |ServerCo|untName;|
|000005f0| 0d 0a 76 61 72 09 6c 6f | 63 61 6c 69 7a 65 64 20 |..var.lo|calized |
|00000600| 73 74 72 69 6e 67 09 09 | 09 51 75 65 72 79 53 65 |string..|.QuerySe|
|00000610| 72 76 65 72 54 65 78 74 | 3b 0d 0a 76 61 72 09 6c |rverText|;..var.l|
|00000620| 6f 63 61 6c 69 7a 65 64 | 20 73 74 72 69 6e 67 09 |ocalized| string.|
|00000630| 09 09 51 75 65 72 79 46 | 61 69 6c 65 64 54 65 78 |..QueryF|ailedTex|
|00000640| 74 3b 0d 0a 76 61 72 09 | 6c 6f 63 61 6c 69 7a 65 |t;..var.|localize|
|00000650| 64 20 73 74 72 69 6e 67 | 09 09 09 50 69 6e 67 69 |d string|...Pingi|
|00000660| 6e 67 54 65 78 74 3b 0d | 0a 76 61 72 09 6c 6f 63 |ngText;.|.var.loc|
|00000670| 61 6c 69 7a 65 64 20 73 | 74 72 69 6e 67 09 09 09 |alized s|tring...|
|00000680| 43 6f 6d 70 6c 65 74 65 | 54 65 78 74 3b 0d 0a 0d |Complete|Text;...|
|00000690| 0a 76 61 72 20 73 74 72 | 69 6e 67 09 09 09 09 09 |.var str|ing.....|
|000006a0| 09 45 72 72 6f 72 53 74 | 72 69 6e 67 3b 0d 0a 76 |.ErrorSt|ring;..v|
|000006b0| 61 72 20 45 50 69 6e 67 | 53 74 61 74 65 09 09 09 |ar EPing|State...|
|000006c0| 09 09 50 69 6e 67 53 74 | 61 74 65 3b 0d 0a 0d 0a |..PingSt|ate;....|
|000006d0| 66 75 6e 63 74 69 6f 6e | 20 57 69 6e 64 6f 77 53 |function| WindowS|
|000006e0| 68 6f 77 6e 28 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |hown()..|{...loca|
|000006f0| 6c 20 55 42 72 6f 77 73 | 65 72 53 75 70 65 72 73 |l UBrows|erSupers|
|00000700| 65 74 4c 69 73 74 20 6c | 3b 0d 0a 0d 0a 09 53 75 |etList l|;.....Su|
|00000710| 70 65 72 2e 57 69 6e 64 | 6f 77 53 68 6f 77 6e 28 |per.Wind|owShown(|
|00000720| 29 3b 0d 0a 09 69 66 28 | 56 53 70 6c 69 74 74 65 |);...if(|VSplitte|
|00000730| 72 2e 62 57 69 6e 64 6f | 77 56 69 73 69 62 6c 65 |r.bWindo|wVisible|
|00000740| 29 0d 0a 09 7b 0d 0a 09 | 09 69 66 28 55 57 69 6e |)...{...|.if(UWin|
|00000750| 64 6f 77 56 53 70 6c 69 | 74 74 65 72 28 49 6e 66 |dowVSpli|tter(Inf|
|00000760| 6f 43 6c 69 65 6e 74 2e | 50 61 72 65 6e 74 57 69 |oClient.|ParentWi|
|00000770| 6e 64 6f 77 29 20 21 3d | 20 4e 6f 6e 65 29 0d 0a |ndow) !=| None)..|
|00000780| 09 09 09 56 53 70 6c 69 | 74 74 65 72 2e 53 70 6c |...VSpli|tter.Spl|
|00000790| 69 74 50 6f 73 20 3d 20 | 55 57 69 6e 64 6f 77 56 |itPos = |UWindowV|
|000007a0| 53 70 6c 69 74 74 65 72 | 28 49 6e 66 6f 43 6c 69 |Splitter|(InfoCli|
|000007b0| 65 6e 74 2e 50 61 72 65 | 6e 74 57 69 6e 64 6f 77 |ent.Pare|ntWindow|
|000007c0| 29 2e 53 70 6c 69 74 50 | 6f 73 3b 0d 0a 0d 0a 09 |).SplitP|os;.....|
|000007d0| 09 49 6e 66 6f 43 6c 69 | 65 6e 74 2e 53 65 74 50 |.InfoCli|ent.SetP|
|000007e0| 61 72 65 6e 74 28 56 53 | 70 6c 69 74 74 65 72 29 |arent(VS|plitter)|
|000007f0| 3b 0d 0a 09 7d 0d 0a 0d | 0a 09 49 6e 66 6f 43 6c |;...}...|..InfoCl|
|00000800| 69 65 6e 74 2e 53 65 72 | 76 65 72 20 3d 20 49 6e |ient.Ser|ver = In|
|00000810| 66 6f 49 74 65 6d 3b 0d | 0a 09 69 66 28 49 6e 66 |foItem;.|..if(Inf|
|00000820| 6f 49 74 65 6d 20 21 3d | 20 4e 6f 6e 65 29 0d 0a |oItem !=| None)..|
|00000830| 09 09 49 6e 66 6f 57 69 | 6e 64 6f 77 2e 57 69 6e |..InfoWi|ndow.Win|
|00000840| 64 6f 77 54 69 74 6c 65 | 20 3d 20 49 6e 66 6f 4e |dowTitle| = InfoN|
|00000850| 61 6d 65 24 22 20 2d 20 | 22 24 49 6e 66 6f 49 74 |ame$" - |"$InfoIt|
|00000860| 65 6d 2e 48 6f 73 74 4e | 61 6d 65 3b 0d 0a 09 65 |em.HostN|ame;...e|
|00000870| 6c 73 65 0d 0a 09 09 49 | 6e 66 6f 57 69 6e 64 6f |lse....I|nfoWindo|
|00000880| 77 2e 57 69 6e 64 6f 77 | 54 69 74 6c 65 20 3d 20 |w.Window|Title = |
|00000890| 49 6e 66 6f 4e 61 6d 65 | 3b 0d 0a 0d 0a 09 52 65 |InfoName|;.....Re|
|000008a0| 73 75 6d 65 50 69 6e 67 | 69 6e 67 28 29 3b 0d 0a |sumePing|ing();..|
|000008b0| 0d 0a 09 66 6f 72 28 6c | 20 3d 20 55 42 72 6f 77 |...for(l| = UBrow|
|000008c0| 73 65 72 53 75 70 65 72 | 73 65 74 4c 69 73 74 28 |serSuper|setList(|
|000008d0| 53 75 70 65 72 73 65 74 | 4c 69 73 74 2e 4e 65 78 |Superset|List.Nex|
|000008e0| 74 29 3b 20 6c 20 21 3d | 20 4e 6f 6e 65 3b 20 6c |t); l !=| None; l|
|000008f0| 20 3d 20 55 42 72 6f 77 | 73 65 72 53 75 70 65 72 | = UBrow|serSuper|
|00000900| 73 65 74 4c 69 73 74 28 | 6c 2e 4e 65 78 74 29 29 |setList(|l.Next))|
|00000910| 0d 0a 09 09 6c 2e 53 75 | 70 65 72 53 65 74 57 69 |....l.Su|perSetWi|
|00000920| 6e 64 6f 77 2e 52 65 73 | 75 6d 65 50 69 6e 67 69 |ndow.Res|umePingi|
|00000930| 6e 67 28 29 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |ng();..}|....func|
|00000940| 74 69 6f 6e 20 57 69 6e | 64 6f 77 48 69 64 64 65 |tion Win|dowHidde|
|00000950| 6e 28 29 0d 0a 7b 0d 0a | 09 6c 6f 63 61 6c 20 55 |n()..{..|.local U|
|00000960| 42 72 6f 77 73 65 72 53 | 75 70 65 72 73 65 74 4c |BrowserS|upersetL|
|00000970| 69 73 74 20 6c 3b 0d 0a | 0d 0a 09 53 75 70 65 72 |ist l;..|...Super|
|00000980| 2e 57 69 6e 64 6f 77 48 | 69 64 64 65 6e 28 29 3b |.WindowH|idden();|
|00000990| 0d 0a 09 53 75 73 70 65 | 6e 64 50 69 6e 67 69 6e |...Suspe|ndPingin|
|000009a0| 67 28 29 3b 0d 0a 0d 0a | 09 66 6f 72 28 6c 20 3d |g();....|.for(l =|
|000009b0| 20 55 42 72 6f 77 73 65 | 72 53 75 70 65 72 73 65 | UBrowse|rSuperse|
|000009c0| 74 4c 69 73 74 28 53 75 | 70 65 72 73 65 74 4c 69 |tList(Su|persetLi|
|000009d0| 73 74 2e 4e 65 78 74 29 | 3b 20 6c 20 21 3d 20 4e |st.Next)|; l != N|
|000009e0| 6f 6e 65 3b 20 6c 20 3d | 20 55 42 72 6f 77 73 65 |one; l =| UBrowse|
|000009f0| 72 53 75 70 65 72 73 65 | 74 4c 69 73 74 28 6c 2e |rSuperse|tList(l.|
|00000a00| 4e 65 78 74 29 29 0d 0a | 09 09 6c 2e 53 75 70 65 |Next))..|..l.Supe|
|00000a10| 72 53 65 74 57 69 6e 64 | 6f 77 2e 53 75 73 70 65 |rSetWind|ow.Suspe|
|00000a20| 6e 64 50 69 6e 67 69 6e | 67 28 29 3b 0d 0a 7d 0d |ndPingin|g();..}.|
|00000a30| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 53 75 73 70 |...funct|ion Susp|
|00000a40| 65 6e 64 50 69 6e 67 69 | 6e 67 28 29 0d 0a 7b 0d |endPingi|ng()..{.|
|00000a50| 0a 09 69 66 28 62 53 75 | 73 70 65 6e 64 50 69 6e |..if(bSu|spendPin|
|00000a60| 67 4f 6e 43 6c 6f 73 65 | 29 0d 0a 09 09 62 50 69 |gOnClose|)....bPi|
|00000a70| 6e 67 53 75 73 70 65 6e | 64 20 3d 20 54 72 75 65 |ngSuspen|d = True|
|00000a80| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|00000a90| 20 52 65 73 75 6d 65 50 | 69 6e 67 69 6e 67 28 29 | ResumeP|inging()|
|00000aa0| 0d 0a 7b 0d 0a 09 69 66 | 28 21 62 48 61 64 49 6e |..{...if|(!bHadIn|
|00000ab0| 69 74 69 61 6c 52 65 66 | 72 65 73 68 29 0d 0a 09 |itialRef|resh)...|
|00000ac0| 09 52 65 66 72 65 73 68 | 28 46 61 6c 73 65 2c 20 |.Refresh|(False, |
|00000ad0| 54 72 75 65 29 3b 09 0d | 0a 0d 0a 09 62 50 69 6e |True);..|....bPin|
|00000ae0| 67 53 75 73 70 65 6e 64 | 20 3d 20 46 61 6c 73 65 |gSuspend| = False|
|00000af0| 3b 0d 0a 09 69 66 28 62 | 50 69 6e 67 52 65 73 75 |;...if(b|PingResu|
|00000b00| 6d 65 29 0d 0a 09 7b 0d | 0a 09 09 62 50 69 6e 67 |me)...{.|...bPing|
|00000b10| 52 65 73 75 6d 65 20 3d | 20 46 61 6c 73 65 3b 0d |Resume =| False;.|
|00000b20| 0a 09 09 55 6e 70 69 6e | 67 65 64 4c 69 73 74 2e |...Unpin|gedList.|
|00000b30| 50 69 6e 67 4e 65 78 74 | 28 62 50 69 6e 67 52 65 |PingNext|(bPingRe|
|00000b40| 73 75 6d 65 49 6e 74 69 | 61 6c 2c 20 62 4e 6f 53 |sumeInti|al, bNoS|
|00000b50| 6f 72 74 29 3b 0d 0a 09 | 7d 0d 0a 7d 0d 0a 0d 0a |ort);...|}..}....|
|00000b60| 66 75 6e 63 74 69 6f 6e | 20 43 72 65 61 74 65 64 |function| Created|
|00000b70| 28 29 0d 0a 7b 0d 0a 09 | 6c 6f 63 61 6c 20 43 6c |()..{...|local Cl|
|00000b80| 61 73 73 3c 55 42 72 6f | 77 73 65 72 53 65 72 76 |ass<UBro|wserServ|
|00000b90| 65 72 47 72 69 64 3e 20 | 43 3b 0d 0a 09 0d 0a 09 |erGrid> |C;......|
|00000ba0| 53 65 72 76 65 72 4c 69 | 73 74 43 6c 61 73 73 20 |ServerLi|stClass |
|00000bb0| 3d 20 63 6c 61 73 73 3c | 55 42 72 6f 77 73 65 72 |= class<|UBrowser|
|00000bc0| 53 65 72 76 65 72 4c 69 | 73 74 3e 28 44 79 6e 61 |ServerLi|st>(Dyna|
|00000bd0| 6d 69 63 4c 6f 61 64 4f | 62 6a 65 63 74 28 53 65 |micLoadO|bject(Se|
|00000be0| 72 76 65 72 4c 69 73 74 | 43 6c 61 73 73 4e 61 6d |rverList|ClassNam|
|00000bf0| 65 2c 20 63 6c 61 73 73 | 27 43 6c 61 73 73 27 29 |e, class|'Class')|
|00000c00| 29 3b 0d 0a 09 43 20 3d | 20 63 6c 61 73 73 3c 55 |);...C =| class<U|
|00000c10| 42 72 6f 77 73 65 72 53 | 65 72 76 65 72 47 72 69 |BrowserS|erverGri|
|00000c20| 64 3e 28 44 79 6e 61 6d | 69 63 4c 6f 61 64 4f 62 |d>(Dynam|icLoadOb|
|00000c30| 6a 65 63 74 28 47 72 69 | 64 43 6c 61 73 73 2c 20 |ject(Gri|dClass, |
|00000c40| 63 6c 61 73 73 27 43 6c | 61 73 73 27 29 29 3b 0d |class'Cl|ass'));.|
|00000c50| 0a 09 47 72 69 64 20 3d | 20 55 42 72 6f 77 73 65 |..Grid =| UBrowse|
|00000c60| 72 53 65 72 76 65 72 47 | 72 69 64 28 43 72 65 61 |rServerG|rid(Crea|
|00000c70| 74 65 57 69 6e 64 6f 77 | 28 43 2c 20 30 2c 20 30 |teWindow|(C, 0, 0|
|00000c80| 2c 20 57 69 6e 57 69 64 | 74 68 2c 20 57 69 6e 48 |, WinWid|th, WinH|
|00000c90| 65 69 67 68 74 29 29 3b | 0d 0a 09 47 72 69 64 2e |eight));|...Grid.|
|00000ca0| 53 65 74 41 63 63 65 70 | 74 73 46 6f 63 75 73 28 |SetAccep|tsFocus(|
|00000cb0| 29 3b 0d 0a 0d 0a 09 53 | 75 62 73 65 74 4c 69 73 |);.....S|ubsetLis|
|00000cc0| 74 20 3d 20 6e 65 77 20 | 63 6c 61 73 73 27 55 42 |t = new |class'UB|
|00000cd0| 72 6f 77 73 65 72 53 75 | 62 73 65 74 4c 69 73 74 |rowserSu|bsetList|
|00000ce0| 27 3b 0d 0a 09 53 75 62 | 73 65 74 4c 69 73 74 2e |';...Sub|setList.|
|00000cf0| 53 65 74 75 70 53 65 6e | 74 69 6e 65 6c 28 29 3b |SetupSen|tinel();|
|00000d00| 0d 0a 0d 0a 09 53 75 70 | 65 72 73 65 74 4c 69 73 |.....Sup|ersetLis|
|00000d10| 74 20 3d 20 6e 65 77 20 | 63 6c 61 73 73 27 55 42 |t = new |class'UB|
|00000d20| 72 6f 77 73 65 72 53 75 | 70 65 72 73 65 74 4c 69 |rowserSu|persetLi|
|00000d30| 73 74 27 3b 0d 0a 09 53 | 75 70 65 72 73 65 74 4c |st';...S|upersetL|
|00000d40| 69 73 74 2e 53 65 74 75 | 70 53 65 6e 74 69 6e 65 |ist.Setu|pSentine|
|00000d50| 6c 28 29 3b 0d 0a 0d 0a | 09 56 53 70 6c 69 74 74 |l();....|.VSplitt|
|00000d60| 65 72 20 3d 20 55 57 69 | 6e 64 6f 77 56 53 70 6c |er = UWi|ndowVSpl|
|00000d70| 69 74 74 65 72 28 43 72 | 65 61 74 65 57 69 6e 64 |itter(Cr|eateWind|
|00000d80| 6f 77 28 63 6c 61 73 73 | 27 55 57 69 6e 64 6f 77 |ow(class|'UWindow|
|00000d90| 56 53 70 6c 69 74 74 65 | 72 27 2c 20 30 2c 20 30 |VSplitte|r', 0, 0|
|00000da0| 2c 20 57 69 6e 57 69 64 | 74 68 2c 20 57 69 6e 48 |, WinWid|th, WinH|
|00000db0| 65 69 67 68 74 29 29 3b | 0d 0a 09 56 53 70 6c 69 |eight));|...VSpli|
|00000dc0| 74 74 65 72 2e 53 65 74 | 41 63 63 65 70 74 73 46 |tter.Set|AcceptsF|
|00000dd0| 6f 63 75 73 28 29 3b 0d | 0a 09 56 53 70 6c 69 74 |ocus();.|..VSplit|
|00000de0| 74 65 72 2e 4d 69 6e 57 | 69 6e 48 65 69 67 68 74 |ter.MinW|inHeight|
|00000df0| 20 3d 20 36 30 3b 0d 0a | 09 56 53 70 6c 69 74 74 | = 60;..|.VSplitt|
|00000e00| 65 72 2e 48 69 64 65 57 | 69 6e 64 6f 77 28 29 3b |er.HideW|indow();|
|00000e10| 0d 0a 09 49 6e 66 6f 57 | 69 6e 64 6f 77 20 3d 20 |...InfoW|indow = |
|00000e20| 55 42 72 6f 77 73 65 72 | 4d 61 69 6e 43 6c 69 65 |UBrowser|MainClie|
|00000e30| 6e 74 57 69 6e 64 6f 77 | 28 47 65 74 50 61 72 65 |ntWindow|(GetPare|
|00000e40| 6e 74 28 63 6c 61 73 73 | 27 55 42 72 6f 77 73 65 |nt(class|'UBrowse|
|00000e50| 72 4d 61 69 6e 43 6c 69 | 65 6e 74 57 69 6e 64 6f |rMainCli|entWindo|
|00000e60| 77 27 29 29 2e 49 6e 66 | 6f 57 69 6e 64 6f 77 3b |w')).Inf|oWindow;|
|00000e70| 0d 0a 09 49 6e 66 6f 43 | 6c 69 65 6e 74 20 3d 20 |...InfoC|lient = |
|00000e80| 55 42 72 6f 77 73 65 72 | 49 6e 66 6f 43 6c 69 65 |UBrowser|InfoClie|
|00000e90| 6e 74 57 69 6e 64 6f 77 | 28 49 6e 66 6f 57 69 6e |ntWindow|(InfoWin|
|00000ea0| 64 6f 77 2e 43 6c 69 65 | 6e 74 41 72 65 61 29 3b |dow.Clie|ntArea);|
|00000eb0| 0d 0a 0d 0a 09 69 66 28 | 52 6f 6f 74 2e 57 69 6e |.....if(|Root.Win|
|00000ec0| 48 65 69 67 68 74 20 3e | 3d 20 4d 69 6e 48 65 69 |Height >|= MinHei|
|00000ed0| 67 68 74 46 6f 72 53 70 | 6c 69 74 74 65 72 29 0d |ghtForSp|litter).|
|00000ee0| 0a 09 09 53 68 6f 77 49 | 6e 66 6f 41 72 65 61 28 |...ShowI|nfoArea(|
|00000ef0| 54 72 75 65 2c 20 46 61 | 6c 73 65 29 3b 0d 0a 7d |True, Fa|lse);..}|
|00000f00| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 53 68 6f |....func|tion Sho|
|00000f10| 77 49 6e 66 6f 41 72 65 | 61 28 62 6f 6f 6c 20 62 |wInfoAre|a(bool b|
|00000f20| 53 68 6f 77 2c 20 6f 70 | 74 69 6f 6e 61 6c 20 62 |Show, op|tional b|
|00000f30| 6f 6f 6c 20 62 46 6c 6f | 61 74 69 6e 67 2c 20 6f |ool bFlo|ating, o|
|00000f40| 70 74 69 6f 6e 61 6c 20 | 62 6f 6f 6c 20 62 4e 6f |ptional |bool bNo|
|00000f50| 41 63 74 69 76 61 74 65 | 29 0d 0a 7b 0d 0a 09 69 |Activate|)..{...i|
|00000f60| 66 28 62 53 68 6f 77 29 | 0d 0a 09 7b 0d 0a 09 09 |f(bShow)|...{....|
|00000f70| 69 66 28 62 46 6c 6f 61 | 74 69 6e 67 29 0d 0a 09 |if(bFloa|ting)...|
|00000f80| 09 7b 0d 0a 09 09 09 56 | 53 70 6c 69 74 74 65 72 |.{.....V|Splitter|
|00000f90| 2e 48 69 64 65 57 69 6e | 64 6f 77 28 29 3b 0d 0a |.HideWin|dow();..|
|00000fa0| 09 09 09 56 53 70 6c 69 | 74 74 65 72 2e 54 6f 70 |...VSpli|tter.Top|
|00000fb0| 43 6c 69 65 6e 74 57 69 | 6e 64 6f 77 20 3d 20 4e |ClientWi|ndow = N|
|00000fc0| 6f 6e 65 3b 0d 0a 09 09 | 09 56 53 70 6c 69 74 74 |one;....|.VSplitt|
|00000fd0| 65 72 2e 42 6f 74 74 6f | 6d 43 6c 69 65 6e 74 57 |er.Botto|mClientW|
|00000fe0| 69 6e 64 6f 77 20 3d 20 | 4e 6f 6e 65 3b 0d 0a 09 |indow = |None;...|
|00000ff0| 09 09 49 6e 66 6f 43 6c | 69 65 6e 74 2e 53 65 74 |..InfoCl|ient.Set|
|00001000| 50 61 72 65 6e 74 28 49 | 6e 66 6f 57 69 6e 64 6f |Parent(I|nfoWindo|
|00001010| 77 29 3b 0d 0a 09 09 09 | 47 72 69 64 2e 53 65 74 |w);.....|Grid.Set|
|00001020| 50 61 72 65 6e 74 28 53 | 65 6c 66 29 3b 0d 0a 09 |Parent(S|elf);...|
|00001030| 09 09 47 72 69 64 2e 53 | 65 74 53 69 7a 65 28 57 |..Grid.S|etSize(W|
|00001040| 69 6e 57 69 64 74 68 2c | 20 57 69 6e 48 65 69 67 |inWidth,| WinHeig|
|00001050| 68 74 29 3b 0d 0a 09 09 | 09 69 66 28 21 49 6e 66 |ht);....|.if(!Inf|
|00001060| 6f 57 69 6e 64 6f 77 2e | 62 57 69 6e 64 6f 77 56 |oWindow.|bWindowV|
|00001070| 69 73 69 62 6c 65 29 0d | 0a 09 09 09 09 49 6e 66 |isible).|.....Inf|
|00001080| 6f 57 69 6e 64 6f 77 2e | 53 68 6f 77 57 69 6e 64 |oWindow.|ShowWind|
|00001090| 6f 77 28 29 3b 0d 0a 09 | 09 09 69 66 28 21 62 4e |ow();...|..if(!bN|
|000010a0| 6f 41 63 74 69 76 61 74 | 65 29 0d 0a 09 09 09 09 |oActivat|e)......|
|000010b0| 49 6e 66 6f 57 69 6e 64 | 6f 77 2e 42 72 69 6e 67 |InfoWind|ow.Bring|
|000010c0| 54 6f 46 72 6f 6e 74 28 | 29 3b 0d 0a 09 09 7d 0d |ToFront(|);....}.|
|000010d0| 0a 09 09 65 6c 73 65 0d | 0a 09 09 7b 0d 0a 09 09 |...else.|...{....|
|000010e0| 09 49 6e 66 6f 57 69 6e | 64 6f 77 2e 48 69 64 65 |.InfoWin|dow.Hide|
|000010f0| 57 69 6e 64 6f 77 28 29 | 3b 0d 0a 09 09 09 56 53 |Window()|;.....VS|
|00001100| 70 6c 69 74 74 65 72 2e | 53 68 6f 77 57 69 6e 64 |plitter.|ShowWind|
|00001110| 6f 77 28 29 3b 0d 0a 09 | 09 09 56 53 70 6c 69 74 |ow();...|..VSplit|
|00001120| 74 65 72 2e 53 65 74 53 | 69 7a 65 28 57 69 6e 57 |ter.SetS|ize(WinW|
|00001130| 69 64 74 68 2c 20 57 69 | 6e 48 65 69 67 68 74 29 |idth, Wi|nHeight)|
|00001140| 3b 0d 0a 09 09 09 47 72 | 69 64 2e 53 65 74 50 61 |;.....Gr|id.SetPa|
|00001150| 72 65 6e 74 28 56 53 70 | 6c 69 74 74 65 72 29 3b |rent(VSp|litter);|
|00001160| 0d 0a 09 09 09 49 6e 66 | 6f 43 6c 69 65 6e 74 2e |.....Inf|oClient.|
|00001170| 53 65 74 50 61 72 65 6e | 74 28 56 53 70 6c 69 74 |SetParen|t(VSplit|
|00001180| 74 65 72 29 3b 0d 0a 09 | 09 09 56 53 70 6c 69 74 |ter);...|..VSplit|
|00001190| 74 65 72 2e 54 6f 70 43 | 6c 69 65 6e 74 57 69 6e |ter.TopC|lientWin|
|000011a0| 64 6f 77 20 3d 20 47 72 | 69 64 3b 0d 0a 09 09 09 |dow = Gr|id;.....|
|000011b0| 56 53 70 6c 69 74 74 65 | 72 2e 42 6f 74 74 6f 6d |VSplitte|r.Bottom|
|000011c0| 43 6c 69 65 6e 74 57 69 | 6e 64 6f 77 20 3d 20 49 |ClientWi|ndow = I|
|000011d0| 6e 66 6f 43 6c 69 65 6e | 74 3b 0d 0a 09 09 7d 0d |nfoClien|t;....}.|
|000011e0| 0a 09 7d 0d 0a 09 65 6c | 73 65 0d 0a 09 7b 0d 0a |..}...el|se...{..|
|000011f0| 09 09 49 6e 66 6f 57 69 | 6e 64 6f 77 2e 48 69 64 |..InfoWi|ndow.Hid|
|00001200| 65 57 69 6e 64 6f 77 28 | 29 3b 0d 0a 09 09 56 53 |eWindow(|);....VS|
|00001210| 70 6c 69 74 74 65 72 2e | 48 69 64 65 57 69 6e 64 |plitter.|HideWind|
|00001220| 6f 77 28 29 3b 0d 0a 09 | 09 56 53 70 6c 69 74 74 |ow();...|.VSplitt|
|00001230| 65 72 2e 54 6f 70 43 6c | 69 65 6e 74 57 69 6e 64 |er.TopCl|ientWind|
|00001240| 6f 77 20 3d 20 4e 6f 6e | 65 3b 0d 0a 09 09 56 53 |ow = Non|e;....VS|
|00001250| 70 6c 69 74 74 65 72 2e | 42 6f 74 74 6f 6d 43 6c |plitter.|BottomCl|
|00001260| 69 65 6e 74 57 69 6e 64 | 6f 77 20 3d 20 4e 6f 6e |ientWind|ow = Non|
|00001270| 65 3b 0d 0a 09 09 49 6e | 66 6f 43 6c 69 65 6e 74 |e;....In|foClient|
|00001280| 2e 53 65 74 50 61 72 65 | 6e 74 28 49 6e 66 6f 57 |.SetPare|nt(InfoW|
|00001290| 69 6e 64 6f 77 29 3b 0d | 0a 09 09 47 72 69 64 2e |indow);.|...Grid.|
|000012a0| 53 65 74 50 61 72 65 6e | 74 28 53 65 6c 66 29 3b |SetParen|t(Self);|
|000012b0| 0d 0a 09 09 47 72 69 64 | 2e 53 65 74 53 69 7a 65 |....Grid|.SetSize|
|000012c0| 28 57 69 6e 57 69 64 74 | 68 2c 20 57 69 6e 48 65 |(WinWidt|h, WinHe|
|000012d0| 69 67 68 74 29 3b 0d 0a | 09 7d 0d 0a 7d 0d 0a 0d |ight);..|.}..}...|
|000012e0| 0a 66 75 6e 63 74 69 6f | 6e 20 41 75 74 6f 49 6e |.functio|n AutoIn|
|000012f0| 66 6f 28 55 42 72 6f 77 | 73 65 72 53 65 72 76 65 |fo(UBrow|serServe|
|00001300| 72 4c 69 73 74 20 49 29 | 0d 0a 7b 0d 0a 09 69 66 |rList I)|..{...if|
|00001310| 28 52 6f 6f 74 2e 57 69 | 6e 48 65 69 67 68 74 20 |(Root.Wi|nHeight |
|00001320| 3e 3d 20 4d 69 6e 48 65 | 69 67 68 74 46 6f 72 53 |>= MinHe|ightForS|
|00001330| 70 6c 69 74 74 65 72 20 | 7c 7c 20 49 6e 66 6f 57 |plitter ||| InfoW|
|00001340| 69 6e 64 6f 77 2e 62 57 | 69 6e 64 6f 77 56 69 73 |indow.bW|indowVis|
|00001350| 69 62 6c 65 29 0d 0a 09 | 09 53 68 6f 77 49 6e 66 |ible)...|.ShowInf|
|00001360| 6f 28 49 2c 20 54 72 75 | 65 29 3b 0d 0a 7d 0d 0a |o(I, Tru|e);..}..|
|00001370| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 53 68 6f 77 49 |..functi|on ShowI|
|00001380| 6e 66 6f 28 55 42 72 6f | 77 73 65 72 53 65 72 76 |nfo(UBro|wserServ|
|00001390| 65 72 4c 69 73 74 20 49 | 2c 20 6f 70 74 69 6f 6e |erList I|, option|
|000013a0| 61 6c 20 62 6f 6f 6c 20 | 62 41 75 74 6f 49 6e 66 |al bool |bAutoInf|
|000013b0| 6f 29 0d 0a 7b 0d 0a 09 | 69 66 28 49 20 3d 3d 20 |o)..{...|if(I == |
|000013c0| 4e 6f 6e 65 29 20 72 65 | 74 75 72 6e 3b 0d 0a 09 |None) re|turn;...|
|000013d0| 53 68 6f 77 49 6e 66 6f | 41 72 65 61 28 54 72 75 |ShowInfo|Area(Tru|
|000013e0| 65 2c 20 52 6f 6f 74 2e | 57 69 6e 48 65 69 67 68 |e, Root.|WinHeigh|
|000013f0| 74 20 3c 20 4d 69 6e 48 | 65 69 67 68 74 46 6f 72 |t < MinH|eightFor|
|00001400| 53 70 6c 69 74 74 65 72 | 2c 20 62 41 75 74 6f 49 |Splitter|, bAutoI|
|00001410| 6e 66 6f 29 3b 0d 0a 0d | 0a 09 49 6e 66 6f 49 74 |nfo);...|..InfoIt|
|00001420| 65 6d 20 3d 20 49 3b 0d | 0a 09 49 6e 66 6f 43 6c |em = I;.|..InfoCl|
|00001430| 69 65 6e 74 2e 53 65 72 | 76 65 72 20 3d 20 49 6e |ient.Ser|ver = In|
|00001440| 66 6f 49 74 65 6d 3b 0d | 0a 09 49 6e 66 6f 57 69 |foItem;.|..InfoWi|
|00001450| 6e 64 6f 77 2e 57 69 6e | 64 6f 77 54 69 74 6c 65 |ndow.Win|dowTitle|
|00001460| 20 3d 20 49 6e 66 6f 4e | 61 6d 65 24 22 20 2d 20 | = InfoN|ame$" - |
|00001470| 22 24 49 6e 66 6f 49 74 | 65 6d 2e 48 6f 73 74 4e |"$InfoIt|em.HostN|
|00001480| 61 6d 65 3b 0d 0a 09 49 | 2e 53 65 72 76 65 72 53 |ame;...I|.ServerS|
|00001490| 74 61 74 75 73 28 29 3b | 0d 0a 7d 0d 0a 0d 0a 66 |tatus();|..}....f|
|000014a0| 75 6e 63 74 69 6f 6e 20 | 52 65 73 6f 6c 75 74 69 |unction |Resoluti|
|000014b0| 6f 6e 43 68 61 6e 67 65 | 64 28 66 6c 6f 61 74 20 |onChange|d(float |
|000014c0| 57 2c 20 66 6c 6f 61 74 | 20 48 29 0d 0a 7b 0d 0a |W, float| H)..{..|
|000014d0| 09 69 66 28 52 6f 6f 74 | 2e 57 69 6e 48 65 69 67 |.if(Root|.WinHeig|
|000014e0| 68 74 20 3e 3d 20 4d 69 | 6e 48 65 69 67 68 74 46 |ht >= Mi|nHeightF|
|000014f0| 6f 72 53 70 6c 69 74 74 | 65 72 29 0d 0a 09 09 53 |orSplitt|er)....S|
|00001500| 68 6f 77 49 6e 66 6f 41 | 72 65 61 28 54 72 75 65 |howInfoA|rea(True|
|00001510| 2c 20 46 61 6c 73 65 29 | 3b 0d 0a 09 65 6c 73 65 |, False)|;...else|
|00001520| 0d 0a 09 09 53 68 6f 77 | 49 6e 66 6f 41 72 65 61 |....Show|InfoArea|
|00001530| 28 46 61 6c 73 65 2c 20 | 54 72 75 65 29 3b 0d 0a |(False, |True);..|
|00001540| 09 0d 0a 09 69 66 28 49 | 6e 66 6f 57 69 6e 64 6f |....if(I|nfoWindo|
|00001550| 77 20 21 3d 20 4e 6f 6e | 65 29 0d 0a 09 09 49 6e |w != Non|e)....In|
|00001560| 66 6f 57 69 6e 64 6f 77 | 2e 52 65 73 6f 6c 75 74 |foWindow|.Resolut|
|00001570| 69 6f 6e 43 68 61 6e 67 | 65 64 28 57 2c 20 48 29 |ionChang|ed(W, H)|
|00001580| 3b 0d 0a 0d 0a 09 53 75 | 70 65 72 2e 52 65 73 6f |;.....Su|per.Reso|
|00001590| 6c 75 74 69 6f 6e 43 68 | 61 6e 67 65 64 28 57 2c |lutionCh|anged(W,|
|000015a0| 20 48 29 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 | H);..}.|...funct|
|000015b0| 69 6f 6e 20 52 65 73 69 | 7a 65 64 28 29 0d 0a 7b |ion Resi|zed()..{|
|000015c0| 0d 0a 09 53 75 70 65 72 | 2e 52 65 73 69 7a 65 64 |...Super|.Resized|
|000015d0| 28 29 3b 0d 0a 09 69 66 | 28 56 53 70 6c 69 74 74 |();...if|(VSplitt|
|000015e0| 65 72 2e 62 57 69 6e 64 | 6f 77 56 69 73 69 62 6c |er.bWind|owVisibl|
|000015f0| 65 29 0d 0a 09 7b 0d 0a | 09 09 56 53 70 6c 69 74 |e)...{..|..VSplit|
|00001600| 74 65 72 2e 53 65 74 53 | 69 7a 65 28 57 69 6e 57 |ter.SetS|ize(WinW|
|00001610| 69 64 74 68 2c 20 57 69 | 6e 48 65 69 67 68 74 29 |idth, Wi|nHeight)|
|00001620| 3b 0d 0a 09 09 56 53 70 | 6c 69 74 74 65 72 2e 4f |;....VSp|litter.O|
|00001630| 6c 64 57 69 6e 48 65 69 | 67 68 74 20 3d 20 56 53 |ldWinHei|ght = VS|
|00001640| 70 6c 69 74 74 65 72 2e | 57 69 6e 48 65 69 67 68 |plitter.|WinHeigh|
|00001650| 74 3b 0d 0a 09 09 56 53 | 70 6c 69 74 74 65 72 2e |t;....VS|plitter.|
|00001660| 53 70 6c 69 74 50 6f 73 | 20 3d 20 56 53 70 6c 69 |SplitPos| = VSpli|
|00001670| 74 74 65 72 2e 57 69 6e | 48 65 69 67 68 74 20 2d |tter.Win|Height -|
|00001680| 20 4d 69 6e 28 56 53 70 | 6c 69 74 74 65 72 2e 57 | Min(VSp|litter.W|
|00001690| 69 6e 48 65 69 67 68 74 | 20 2f 20 32 2c 20 32 35 |inHeight| / 2, 25|
|000016a0| 30 29 3b 0d 0a 09 7d 0d | 0a 09 65 6c 73 65 0d 0a |0);...}.|..else..|
|000016b0| 09 09 47 72 69 64 2e 53 | 65 74 53 69 7a 65 28 57 |..Grid.S|etSize(W|
|000016c0| 69 6e 57 69 64 74 68 2c | 20 57 69 6e 48 65 69 67 |inWidth,| WinHeig|
|000016d0| 68 74 29 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |ht);..}.|...funct|
|000016e0| 69 6f 6e 20 41 64 64 53 | 75 62 73 65 74 28 55 42 |ion AddS|ubset(UB|
|000016f0| 72 6f 77 73 65 72 53 75 | 62 73 65 74 46 61 63 74 |rowserSu|bsetFact|
|00001700| 20 53 75 62 73 65 74 29 | 0d 0a 7b 0d 0a 09 6c 6f | Subset)|..{...lo|
|00001710| 63 61 6c 20 55 42 72 6f | 77 73 65 72 53 75 62 73 |cal UBro|wserSubs|
|00001720| 65 74 4c 69 73 74 20 6c | 3b 0d 0a 0d 0a 09 66 6f |etList l|;.....fo|
|00001730| 72 28 6c 20 3d 20 55 42 | 72 6f 77 73 65 72 53 75 |r(l = UB|rowserSu|
|00001740| 62 73 65 74 4c 69 73 74 | 28 53 75 62 73 65 74 4c |bsetList|(SubsetL|
|00001750| 69 73 74 2e 4e 65 78 74 | 29 3b 20 6c 20 21 3d 20 |ist.Next|); l != |
|00001760| 4e 6f 6e 65 3b 20 6c 20 | 3d 20 55 42 72 6f 77 73 |None; l |= UBrows|
|00001770| 65 72 53 75 62 73 65 74 | 4c 69 73 74 28 6c 2e 4e |erSubset|List(l.N|
|00001780| 65 78 74 29 29 0d 0a 09 | 09 69 66 28 6c 2e 53 75 |ext))...|.if(l.Su|
|00001790| 62 73 65 74 46 61 63 74 | 6f 72 79 20 3d 3d 20 53 |bsetFact|ory == S|
|000017a0| 75 62 73 65 74 29 0d 0a | 09 09 09 72 65 74 75 72 |ubset)..|...retur|
|000017b0| 6e 3b 0d 0a 09 0d 0a 09 | 6c 20 3d 20 55 42 72 6f |n;......|l = UBro|
|000017c0| 77 73 65 72 53 75 62 73 | 65 74 4c 69 73 74 28 53 |wserSubs|etList(S|
|000017d0| 75 62 73 65 74 4c 69 73 | 74 2e 41 70 70 65 6e 64 |ubsetLis|t.Append|
|000017e0| 28 63 6c 61 73 73 27 55 | 42 72 6f 77 73 65 72 53 |(class'U|BrowserS|
|000017f0| 75 62 73 65 74 4c 69 73 | 74 27 29 29 3b 0d 0a 09 |ubsetLis|t'));...|
|00001800| 6c 2e 53 75 62 73 65 74 | 46 61 63 74 6f 72 79 20 |l.Subset|Factory |
|00001810| 3d 20 53 75 62 73 65 74 | 3b 0d 0a 7d 0d 0a 0d 0a |= Subset|;..}....|
|00001820| 66 75 6e 63 74 69 6f 6e | 20 41 64 64 53 75 70 65 |function| AddSupe|
|00001830| 72 53 65 74 28 55 42 72 | 6f 77 73 65 72 53 65 72 |rSet(UBr|owserSer|
|00001840| 76 65 72 4c 69 73 74 57 | 69 6e 64 6f 77 20 53 75 |verListW|indow Su|
|00001850| 70 65 72 73 65 74 29 0d | 0a 7b 0d 0a 09 6c 6f 63 |perset).|.{...loc|
|00001860| 61 6c 20 55 42 72 6f 77 | 73 65 72 53 75 70 65 72 |al UBrow|serSuper|
|00001870| 73 65 74 4c 69 73 74 20 | 6c 3b 0d 0a 0d 0a 09 66 |setList |l;.....f|
|00001880| 6f 72 28 6c 20 3d 20 55 | 42 72 6f 77 73 65 72 53 |or(l = U|BrowserS|
|00001890| 75 70 65 72 73 65 74 4c | 69 73 74 28 53 75 70 65 |upersetL|ist(Supe|
|000018a0| 72 73 65 74 4c 69 73 74 | 2e 4e 65 78 74 29 3b 20 |rsetList|.Next); |
|000018b0| 6c 20 21 3d 20 4e 6f 6e | 65 3b 20 6c 20 3d 20 55 |l != Non|e; l = U|
|000018c0| 42 72 6f 77 73 65 72 53 | 75 70 65 72 73 65 74 4c |BrowserS|upersetL|
|000018d0| 69 73 74 28 6c 2e 4e 65 | 78 74 29 29 0d 0a 09 09 |ist(l.Ne|xt))....|
|000018e0| 69 66 28 6c 2e 53 75 70 | 65 72 73 65 74 57 69 6e |if(l.Sup|ersetWin|
|000018f0| 64 6f 77 20 3d 3d 20 53 | 75 70 65 72 73 65 74 29 |dow == S|uperset)|
|00001900| 0d 0a 09 09 09 72 65 74 | 75 72 6e 3b 0d 0a 09 0d |.....ret|urn;....|
|00001910| 0a 09 6c 20 3d 20 55 42 | 72 6f 77 73 65 72 53 75 |..l = UB|rowserSu|
|00001920| 70 65 72 73 65 74 4c 69 | 73 74 28 53 75 70 65 72 |persetLi|st(Super|
|00001930| 73 65 74 4c 69 73 74 2e | 41 70 70 65 6e 64 28 63 |setList.|Append(c|
|00001940| 6c 61 73 73 27 55 42 72 | 6f 77 73 65 72 53 75 70 |lass'UBr|owserSup|
|00001950| 65 72 73 65 74 4c 69 73 | 74 27 29 29 3b 0d 0a 09 |ersetLis|t'));...|
|00001960| 6c 2e 53 75 70 65 72 73 | 65 74 57 69 6e 64 6f 77 |l.Supers|etWindow|
|00001970| 20 3d 20 53 75 70 65 72 | 73 65 74 3b 0d 0a 7d 0d | = Super|set;..}.|
|00001980| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 52 65 6d 6f |...funct|ion Remo|
|00001990| 76 65 53 75 62 73 65 74 | 28 55 42 72 6f 77 73 65 |veSubset|(UBrowse|
|000019a0| 72 53 75 62 73 65 74 46 | 61 63 74 20 53 75 62 73 |rSubsetF|act Subs|
|000019b0| 65 74 29 0d 0a 7b 0d 0a | 09 6c 6f 63 61 6c 20 55 |et)..{..|.local U|
|000019c0| 42 72 6f 77 73 65 72 53 | 75 62 73 65 74 4c 69 73 |BrowserS|ubsetLis|
|000019d0| 74 20 6c 3b 0d 0a 0d 0a | 09 66 6f 72 28 6c 20 3d |t l;....|.for(l =|
|000019e0| 20 55 42 72 6f 77 73 65 | 72 53 75 62 73 65 74 4c | UBrowse|rSubsetL|
|000019f0| 69 73 74 28 53 75 62 73 | 65 74 4c 69 73 74 2e 4e |ist(Subs|etList.N|
|00001a00| 65 78 74 29 3b 20 6c 20 | 21 3d 20 4e 6f 6e 65 3b |ext); l |!= None;|
|00001a10| 20 6c 20 3d 20 55 42 72 | 6f 77 73 65 72 53 75 62 | l = UBr|owserSub|
|00001a20| 73 65 74 4c 69 73 74 28 | 6c 2e 4e 65 78 74 29 29 |setList(|l.Next))|
|00001a30| 0d 0a 09 09 69 66 28 6c | 2e 53 75 62 73 65 74 46 |....if(l|.SubsetF|
|00001a40| 61 63 74 6f 72 79 20 3d | 3d 20 53 75 62 73 65 74 |actory =|= Subset|
|00001a50| 29 0d 0a 09 09 09 6c 2e | 52 65 6d 6f 76 65 28 29 |).....l.|Remove()|
|00001a60| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|00001a70| 20 52 65 6d 6f 76 65 53 | 75 70 65 72 73 65 74 28 | RemoveS|uperset(|
|00001a80| 55 42 72 6f 77 73 65 72 | 53 65 72 76 65 72 4c 69 |UBrowser|ServerLi|
|00001a90| 73 74 57 69 6e 64 6f 77 | 20 53 75 70 65 72 73 65 |stWindow| Superse|
|00001aa0| 74 29 0d 0a 7b 0d 0a 09 | 6c 6f 63 61 6c 20 55 42 |t)..{...|local UB|
|00001ab0| 72 6f 77 73 65 72 53 75 | 70 65 72 73 65 74 4c 69 |rowserSu|persetLi|
|00001ac0| 73 74 20 6c 3b 0d 0a 0d | 0a 09 66 6f 72 28 6c 20 |st l;...|..for(l |
|00001ad0| 3d 20 55 42 72 6f 77 73 | 65 72 53 75 70 65 72 73 |= UBrows|erSupers|
|00001ae0| 65 74 4c 69 73 74 28 53 | 75 70 65 72 73 65 74 4c |etList(S|upersetL|
|00001af0| 69 73 74 2e 4e 65 78 74 | 29 3b 20 6c 20 21 3d 20 |ist.Next|); l != |
|00001b00| 4e 6f 6e 65 3b 20 6c 20 | 3d 20 55 42 72 6f 77 73 |None; l |= UBrows|
|00001b10| 65 72 53 75 70 65 72 73 | 65 74 4c 69 73 74 28 6c |erSupers|etList(l|
|00001b20| 2e 4e 65 78 74 29 29 0d | 0a 09 09 69 66 28 6c 2e |.Next)).|...if(l.|
|00001b30| 53 75 70 65 72 73 65 74 | 57 69 6e 64 6f 77 20 3d |Superset|Window =|
|00001b40| 3d 20 53 75 70 65 72 73 | 65 74 29 0d 0a 09 09 09 |= Supers|et).....|
|00001b50| 6c 2e 52 65 6d 6f 76 65 | 28 29 3b 0d 0a 7d 0d 0a |l.Remove|();..}..|
|00001b60| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 55 42 72 6f 77 |..functi|on UBrow|
|00001b70| 73 65 72 53 65 72 76 65 | 72 4c 69 73 74 20 41 64 |serServe|rList Ad|
|00001b80| 64 46 61 76 6f 72 69 74 | 65 28 55 42 72 6f 77 73 |dFavorit|e(UBrows|
|00001b90| 65 72 53 65 72 76 65 72 | 4c 69 73 74 20 53 65 72 |erServer|List Ser|
|00001ba0| 76 65 72 29 0d 0a 7b 0d | 0a 09 72 65 74 75 72 6e |ver)..{.|..return|
|00001bb0| 20 55 42 72 6f 77 73 65 | 72 53 65 72 76 65 72 4c | UBrowse|rServerL|
|00001bc0| 69 73 74 57 69 6e 64 6f | 77 28 55 42 72 6f 77 73 |istWindo|w(UBrows|
|00001bd0| 65 72 4d 61 69 6e 43 6c | 69 65 6e 74 57 69 6e 64 |erMainCl|ientWind|
|00001be0| 6f 77 28 47 65 74 50 61 | 72 65 6e 74 28 63 6c 61 |ow(GetPa|rent(cla|
|00001bf0| 73 73 27 55 42 72 6f 77 | 73 65 72 4d 61 69 6e 43 |ss'UBrow|serMainC|
|00001c00| 6c 69 65 6e 74 57 69 6e | 64 6f 77 27 29 29 2e 46 |lientWin|dow')).F|
|00001c10| 61 76 6f 72 69 74 65 73 | 2e 50 61 67 65 29 2e 41 |avorites|.Page).A|
|00001c20| 64 64 46 61 76 6f 72 69 | 74 65 28 53 65 72 76 65 |ddFavori|te(Serve|
|00001c30| 72 29 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |r);..}..|..functi|
|00001c40| 6f 6e 20 52 65 66 72 65 | 73 68 28 6f 70 74 69 6f |on Refre|sh(optio|
|00001c50| 6e 61 6c 20 62 6f 6f 6c | 20 62 42 79 53 75 70 65 |nal bool| bBySupe|
|00001c60| 72 73 65 74 2c 20 6f 70 | 74 69 6f 6e 61 6c 20 62 |rset, op|tional b|
|00001c70| 6f 6f 6c 20 62 49 6e 69 | 74 69 61 6c 2c 20 6f 70 |ool bIni|tial, op|
|00001c80| 74 69 6f 6e 61 6c 20 62 | 6f 6f 6c 20 62 53 61 76 |tional b|ool bSav|
|00001c90| 65 45 78 69 73 74 69 6e | 67 4c 69 73 74 2c 20 6f |eExistin|gList, o|
|00001ca0| 70 74 69 6f 6e 61 6c 20 | 62 6f 6f 6c 20 62 49 6e |ptional |bool bIn|
|00001cb0| 4e 6f 53 6f 72 74 29 0d | 0a 7b 0d 0a 09 62 48 61 |NoSort).|.{...bHa|
|00001cc0| 64 49 6e 69 74 69 61 6c | 52 65 66 72 65 73 68 20 |dInitial|Refresh |
|00001cd0| 3d 20 54 72 75 65 3b 0d | 0a 0d 0a 09 69 66 28 21 |= True;.|....if(!|
|00001ce0| 62 53 61 76 65 45 78 69 | 73 74 69 6e 67 4c 69 73 |bSaveExi|stingLis|
|00001cf0| 74 29 0d 0a 09 7b 0d 0a | 09 09 49 6e 66 6f 49 74 |t)...{..|..InfoIt|
|00001d00| 65 6d 20 3d 20 4e 6f 6e | 65 3b 0d 0a 09 09 49 6e |em = Non|e;....In|
|00001d10| 66 6f 43 6c 69 65 6e 74 | 2e 53 65 72 76 65 72 20 |foClient|.Server |
|00001d20| 3d 20 4e 6f 6e 65 3b 0d | 0a 09 7d 0d 0a 0d 0a 09 |= None;.|..}.....|
|00001d30| 69 66 28 21 62 53 61 76 | 65 45 78 69 73 74 69 6e |if(!bSav|eExistin|
|00001d40| 67 4c 69 73 74 20 26 26 | 20 50 69 6e 67 65 64 4c |gList &&| PingedL|
|00001d50| 69 73 74 20 21 3d 20 4e | 6f 6e 65 29 0d 0a 09 7b |ist != N|one)...{|
|00001d60| 0d 0a 09 09 50 69 6e 67 | 65 64 4c 69 73 74 2e 44 |....Ping|edList.D|
|00001d70| 65 73 74 72 6f 79 4c 69 | 73 74 28 29 3b 0d 0a 09 |estroyLi|st();...|
|00001d80| 09 50 69 6e 67 65 64 4c | 69 73 74 20 3d 20 4e 6f |.PingedL|ist = No|
|00001d90| 6e 65 3b 0d 0a 09 09 47 | 72 69 64 2e 53 65 6c 65 |ne;....G|rid.Sele|
|00001da0| 63 74 65 64 53 65 72 76 | 65 72 20 3d 20 4e 6f 6e |ctedServ|er = Non|
|00001db0| 65 3b 0d 0a 09 7d 0d 0a | 0d 0a 09 69 66 28 50 69 |e;...}..|...if(Pi|
|00001dc0| 6e 67 65 64 4c 69 73 74 | 20 3d 3d 20 4e 6f 6e 65 |ngedList| == None|
|00001dd0| 29 0d 0a 09 7b 0d 0a 09 | 09 50 69 6e 67 65 64 4c |)...{...|.PingedL|
|00001de0| 69 73 74 3d 4e 65 77 20 | 53 65 72 76 65 72 4c 69 |ist=New |ServerLi|
|00001df0| 73 74 43 6c 61 73 73 3b | 0d 0a 09 09 50 69 6e 67 |stClass;|....Ping|
|00001e00| 65 64 4c 69 73 74 2e 4f | 77 6e 65 72 20 3d 20 53 |edList.O|wner = S|
|00001e10| 65 6c 66 3b 0d 0a 09 09 | 50 69 6e 67 65 64 4c 69 |elf;....|PingedLi|
|00001e20| 73 74 2e 53 65 74 75 70 | 53 65 6e 74 69 6e 65 6c |st.Setup|Sentinel|
|00001e30| 28 54 72 75 65 29 3b 0d | 0a 09 09 50 69 6e 67 65 |(True);.|...Pinge|
|00001e40| 64 4c 69 73 74 2e 62 53 | 75 73 70 65 6e 64 61 62 |dList.bS|uspendab|
|00001e50| 6c 65 53 6f 72 74 20 3d | 20 54 72 75 65 3b 0d 0a |leSort =| True;..|
|00001e60| 09 7d 0d 0a 09 65 6c 73 | 65 0d 0a 09 7b 0d 0a 09 |.}...els|e...{...|
|00001e70| 09 54 61 67 53 65 72 76 | 65 72 73 41 73 4f 6c 64 |.TagServ|ersAsOld|
|00001e80| 28 29 3b 0d 0a 09 7d 0d | 0a 0d 0a 09 69 66 28 55 |();...}.|....if(U|
|00001e90| 6e 70 69 6e 67 65 64 4c | 69 73 74 20 21 3d 20 4e |npingedL|ist != N|
|00001ea0| 6f 6e 65 29 0d 0a 09 09 | 55 6e 70 69 6e 67 65 64 |one)....|Unpinged|
|00001eb0| 4c 69 73 74 2e 44 65 73 | 74 72 6f 79 4c 69 73 74 |List.Des|troyList|
|00001ec0| 28 29 3b 0d 0a 09 0d 0a | 09 69 66 28 21 62 53 61 |();.....|.if(!bSa|
|00001ed0| 76 65 45 78 69 73 74 69 | 6e 67 4c 69 73 74 29 0d |veExisti|ngList).|
|00001ee0| 0a 09 7b 0d 0a 09 09 55 | 6e 70 69 6e 67 65 64 4c |..{....U|npingedL|
|00001ef0| 69 73 74 20 3d 20 4e 65 | 77 20 53 65 72 76 65 72 |ist = Ne|w Server|
|00001f00| 4c 69 73 74 43 6c 61 73 | 73 3b 0d 0a 09 09 55 6e |ListClas|s;....Un|
|00001f10| 70 69 6e 67 65 64 4c 69 | 73 74 2e 4f 77 6e 65 72 |pingedLi|st.Owner|
|00001f20| 20 3d 20 53 65 6c 66 3b | 0d 0a 09 09 55 6e 70 69 | = Self;|....Unpi|
|00001f30| 6e 67 65 64 4c 69 73 74 | 2e 53 65 74 75 70 53 65 |ngedList|.SetupSe|
|00001f40| 6e 74 69 6e 65 6c 28 46 | 61 6c 73 65 29 3b 0d 0a |ntinel(F|alse);..|
|00001f50| 09 7d 0d 0a 0d 0a 09 50 | 69 6e 67 53 74 61 74 65 |.}.....P|ingState|
|00001f60| 20 3d 20 50 53 5f 51 75 | 65 72 79 53 65 72 76 65 | = PS_Qu|eryServe|
|00001f70| 72 3b 0d 0a 09 53 68 75 | 74 64 6f 77 6e 46 61 63 |r;...Shu|tdownFac|
|00001f80| 74 6f 72 69 65 73 28 62 | 42 79 53 75 70 65 72 73 |tories(b|BySupers|
|00001f90| 65 74 29 3b 0d 0a 09 43 | 72 65 61 74 65 46 61 63 |et);...C|reateFac|
|00001fa0| 74 6f 72 69 65 73 28 62 | 53 61 76 65 45 78 69 73 |tories(b|SaveExis|
|00001fb0| 74 69 6e 67 4c 69 73 74 | 29 3b 0d 0a 09 51 75 65 |tingList|);...Que|
|00001fc0| 72 79 28 62 42 79 53 75 | 70 65 72 73 65 74 2c 20 |ry(bBySu|perset, |
|00001fd0| 62 49 6e 69 74 69 61 6c | 2c 20 62 49 6e 4e 6f 53 |bInitial|, bInNoS|
|00001fe0| 6f 72 74 29 3b 0d 0a 0d | 0a 09 69 66 28 21 62 49 |ort);...|..if(!bI|
|00001ff0| 6e 69 74 69 61 6c 29 0d | 0a 09 09 52 65 66 72 65 |nitial).|...Refre|
|00002000| 73 68 53 75 62 73 65 74 | 73 28 29 3b 0d 0a 7d 0d |shSubset|s();..}.|
|00002010| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 54 61 67 53 |...funct|ion TagS|
|00002020| 65 72 76 65 72 73 41 73 | 4f 6c 64 28 29 0d 0a 7b |erversAs|Old()..{|
|00002030| 0d 0a 09 6c 6f 63 61 6c | 20 55 42 72 6f 77 73 65 |...local| UBrowse|
|00002040| 72 53 65 72 76 65 72 4c | 69 73 74 20 6c 3b 0d 0a |rServerL|ist l;..|
|00002050| 0d 0a 09 66 6f 72 28 6c | 20 3d 20 55 42 72 6f 77 |...for(l| = UBrow|
|00002060| 73 65 72 53 65 72 76 65 | 72 4c 69 73 74 28 50 69 |serServe|rList(Pi|
|00002070| 6e 67 65 64 4c 69 73 74 | 2e 4e 65 78 74 29 3b 6c |ngedList|.Next);l|
|00002080| 20 21 3d 20 4e 6f 6e 65 | 3b 6c 20 3d 20 55 42 72 | != None|;l = UBr|
|00002090| 6f 77 73 65 72 53 65 72 | 76 65 72 4c 69 73 74 28 |owserSer|verList(|
|000020a0| 6c 2e 4e 65 78 74 29 29 | 20 0d 0a 09 09 6c 2e 62 |l.Next))| ....l.b|
|000020b0| 4f 6c 64 53 65 72 76 65 | 72 20 3d 20 54 72 75 65 |OldServe|r = True|
|000020c0| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|000020d0| 20 52 65 6d 6f 76 65 4f | 6c 64 53 65 72 76 65 72 | RemoveO|ldServer|
|000020e0| 73 28 29 0d 0a 7b 0d 0a | 09 6c 6f 63 61 6c 20 55 |s()..{..|.local U|
|000020f0| 42 72 6f 77 73 65 72 53 | 65 72 76 65 72 4c 69 73 |BrowserS|erverLis|
|00002100| 74 20 6c 2c 20 6e 3b 0d | 0a 0d 0a 09 6c 20 3d 20 |t l, n;.|....l = |
|00002110| 55 42 72 6f 77 73 65 72 | 53 65 72 76 65 72 4c 69 |UBrowser|ServerLi|
|00002120| 73 74 28 50 69 6e 67 65 | 64 4c 69 73 74 2e 4e 65 |st(Pinge|dList.Ne|
|00002130| 78 74 29 3b 0d 0a 09 77 | 68 69 6c 65 28 6c 20 21 |xt);...w|hile(l !|
|00002140| 3d 20 4e 6f 6e 65 29 20 | 0d 0a 09 7b 0d 0a 09 09 |= None) |...{....|
|00002150| 6e 20 3d 20 55 42 72 6f | 77 73 65 72 53 65 72 76 |n = UBro|wserServ|
|00002160| 65 72 4c 69 73 74 28 6c | 2e 4e 65 78 74 29 3b 0d |erList(l|.Next);.|
|00002170| 0a 0d 0a 09 09 69 66 28 | 6c 2e 62 4f 6c 64 53 65 |.....if(|l.bOldSe|
|00002180| 72 76 65 72 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 69 |rver)...|.{.....i|
|00002190| 66 28 47 72 69 64 2e 53 | 65 6c 65 63 74 65 64 53 |f(Grid.S|electedS|
|000021a0| 65 72 76 65 72 20 3d 3d | 20 6c 29 0d 0a 09 09 09 |erver ==| l).....|
|000021b0| 09 47 72 69 64 2e 53 65 | 6c 65 63 74 65 64 53 65 |.Grid.Se|lectedSe|
|000021c0| 72 76 65 72 20 3d 20 6e | 3b 0d 0a 0d 0a 09 09 09 |rver = n|;.......|
|000021d0| 6c 2e 52 65 6d 6f 76 65 | 28 29 3b 0d 0a 09 09 7d |l.Remove|();....}|
|000021e0| 0d 0a 09 09 6c 20 3d 20 | 6e 3b 0d 0a 09 7d 0d 0a |....l = |n;...}..|
|000021f0| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 52 65 |}....fun|ction Re|
|00002200| 66 72 65 73 68 53 75 62 | 73 65 74 73 28 29 0d 0a |freshSub|sets()..|
|00002210| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 55 42 72 6f 77 73 |{...loca|l UBrows|
|00002220| 65 72 53 75 62 73 65 74 | 4c 69 73 74 20 6c 2c 20 |erSubset|List l, |
|00002230| 4e 65 78 74 53 75 62 73 | 65 74 3b 0d 0a 0d 0a 09 |NextSubs|et;.....|
|00002240| 66 6f 72 28 6c 20 3d 20 | 55 42 72 6f 77 73 65 72 |for(l = |UBrowser|
|00002250| 53 75 62 73 65 74 4c 69 | 73 74 28 53 75 62 73 65 |SubsetLi|st(Subse|
|00002260| 74 4c 69 73 74 2e 4e 65 | 78 74 29 3b 20 6c 20 21 |tList.Ne|xt); l !|
|00002270| 3d 20 4e 6f 6e 65 3b 20 | 6c 20 3d 20 55 42 72 6f |= None; |l = UBro|
|00002280| 77 73 65 72 53 75 62 73 | 65 74 4c 69 73 74 28 6c |wserSubs|etList(l|
|00002290| 2e 4e 65 78 74 29 29 0d | 0a 09 09 6c 2e 62 4f 6c |.Next)).|...l.bOl|
|000022a0| 64 45 6c 65 6d 65 6e 74 | 20 3d 20 54 72 75 65 3b |dElement| = True;|
|000022b0| 0d 0a 0d 0a 09 6c 20 3d | 20 55 42 72 6f 77 73 65 |.....l =| UBrowse|
|000022c0| 72 53 75 62 73 65 74 4c | 69 73 74 28 53 75 62 73 |rSubsetL|ist(Subs|
|000022d0| 65 74 4c 69 73 74 2e 4e | 65 78 74 29 3b 0d 0a 09 |etList.N|ext);...|
|000022e0| 77 68 69 6c 65 28 6c 20 | 21 3d 20 4e 6f 6e 65 20 |while(l |!= None |
|000022f0| 26 26 20 6c 2e 62 4f 6c | 64 45 6c 65 6d 65 6e 74 |&& l.bOl|dElement|
|00002300| 29 0d 0a 09 7b 0d 0a 09 | 09 4e 65 78 74 53 75 62 |)...{...|.NextSub|
|00002310| 73 65 74 20 3d 20 55 42 | 72 6f 77 73 65 72 53 75 |set = UB|rowserSu|
|00002320| 62 73 65 74 4c 69 73 74 | 28 6c 2e 4e 65 78 74 29 |bsetList|(l.Next)|
|00002330| 3b 0d 0a 09 09 6c 2e 53 | 75 62 73 65 74 46 61 63 |;....l.S|ubsetFac|
|00002340| 74 6f 72 79 2e 4f 77 6e | 65 72 2e 4f 77 6e 65 72 |tory.Own|er.Owner|
|00002350| 2e 52 65 66 72 65 73 68 | 28 54 72 75 65 29 3b 0d |.Refresh|(True);.|
|00002360| 0a 09 09 6c 20 3d 20 4e | 65 78 74 53 75 62 73 65 |...l = N|extSubse|
|00002370| 74 3b 0d 0a 09 7d 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |t;...}..|}....fun|
|00002380| 63 74 69 6f 6e 20 52 65 | 50 69 6e 67 28 29 0d 0a |ction Re|Ping()..|
|00002390| 7b 0d 0a 09 50 69 6e 67 | 53 74 61 74 65 20 3d 20 |{...Ping|State = |
|000023a0| 50 53 5f 52 65 50 69 6e | 67 69 6e 67 3b 0d 0a 09 |PS_RePin|ging;...|
|000023b0| 50 69 6e 67 65 64 4c 69 | 73 74 2e 49 6e 76 61 6c |PingedLi|st.Inval|
|000023c0| 69 64 61 74 65 50 69 6e | 67 73 28 29 3b 0d 0a 09 |idatePin|gs();...|
|000023d0| 50 69 6e 67 65 64 4c 69 | 73 74 2e 50 69 6e 67 53 |PingedLi|st.PingS|
|000023e0| 65 72 76 65 72 73 28 54 | 72 75 65 2c 20 46 61 6c |ervers(T|rue, Fal|
|000023f0| 73 65 29 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |se);..}.|...funct|
|00002400| 69 6f 6e 20 51 75 65 72 | 79 46 69 6e 69 73 68 65 |ion Quer|yFinishe|
|00002410| 64 28 55 42 72 6f 77 73 | 65 72 53 65 72 76 65 72 |d(UBrows|erServer|
|00002420| 4c 69 73 74 46 61 63 74 | 6f 72 79 20 46 61 63 74 |ListFact|ory Fact|
|00002430| 2c 20 62 6f 6f 6c 20 62 | 53 75 63 63 65 73 73 2c |, bool b|Success,|
|00002440| 20 6f 70 74 69 6f 6e 61 | 6c 20 73 74 72 69 6e 67 | optiona|l string|
|00002450| 20 45 72 72 6f 72 4d 73 | 67 29 0d 0a 7b 0d 0a 09 | ErrorMs|g)..{...|
|00002460| 6c 6f 63 61 6c 20 69 6e | 74 20 69 3b 0d 0a 09 6c |local in|t i;...l|
|00002470| 6f 63 61 6c 20 62 6f 6f | 6c 20 62 44 6f 6e 65 3b |ocal boo|l bDone;|
|00002480| 0d 0a 0d 0a 09 62 44 6f | 6e 65 20 3d 20 54 72 75 |.....bDo|ne = Tru|
|00002490| 65 3b 0d 0a 09 66 6f 72 | 28 69 3d 30 3b 69 3c 31 |e;...for|(i=0;i<1|
|000024a0| 30 3b 69 2b 2b 29 0d 0a | 09 7b 0d 0a 09 09 69 66 |0;i++)..|.{....if|
|000024b0| 28 46 61 63 74 6f 72 69 | 65 73 5b 69 5d 20 21 3d |(Factori|es[i] !=|
|000024c0| 20 4e 6f 6e 65 29 0d 0a | 09 09 7b 0d 0a 09 09 09 | None)..|..{.....|
|000024d0| 69 66 28 46 61 63 74 6f | 72 69 65 73 5b 69 5d 20 |if(Facto|ries[i] |
|000024e0| 3d 3d 20 46 61 63 74 29 | 0d 0a 09 09 09 09 51 75 |== Fact)|......Qu|
|000024f0| 65 72 79 44 6f 6e 65 5b | 69 5d 20 3d 20 31 3b 0d |eryDone[|i] = 1;.|
|00002500| 0a 09 09 09 69 66 28 51 | 75 65 72 79 44 6f 6e 65 |....if(Q|ueryDone|
|00002510| 5b 69 5d 20 3d 3d 20 30 | 29 0d 0a 09 09 09 09 62 |[i] == 0|)......b|
|00002520| 44 6f 6e 65 20 3d 20 46 | 61 6c 73 65 3b 0d 0a 09 |Done = F|alse;...|
|00002530| 09 7d 0d 0a 09 7d 0d 0a | 0d 0a 09 69 66 28 21 62 |.}...}..|...if(!b|
|00002540| 53 75 63 63 65 73 73 29 | 0d 0a 09 7b 0d 0a 09 09 |Success)|...{....|
|00002550| 50 69 6e 67 53 74 61 74 | 65 20 3d 20 50 53 5f 51 |PingStat|e = PS_Q|
|00002560| 75 65 72 79 46 61 69 6c | 65 64 3b 0d 0a 09 09 45 |ueryFail|ed;....E|
|00002570| 72 72 6f 72 53 74 72 69 | 6e 67 20 3d 20 45 72 72 |rrorStri|ng = Err|
|00002580| 6f 72 4d 73 67 3b 0d 0a | 0d 0a 09 09 2f 2f 20 64 |orMsg;..|....// d|
|00002590| 6f 6e 27 74 20 70 69 6e | 67 20 61 6e 64 20 72 65 |on't pin|g and re|
|000025a0| 70 6f 72 74 20 73 75 63 | 63 65 73 73 20 69 66 20 |port suc|cess if |
|000025b0| 77 65 20 68 61 76 65 20 | 6e 6f 20 73 65 72 76 65 |we have |no serve|
|000025c0| 72 73 2e 0d 0a 09 09 69 | 66 28 62 44 6f 6e 65 20 |rs.....i|f(bDone |
|000025d0| 26 26 20 55 6e 70 69 6e | 67 65 64 4c 69 73 74 2e |&& Unpin|gedList.|
|000025e0| 43 6f 75 6e 74 28 29 20 | 3d 3d 20 30 29 0d 0a 09 |Count() |== 0)...|
|000025f0| 09 7b 0d 0a 09 09 09 69 | 66 28 20 62 46 61 6c 6c |.{.....i|f( bFall|
|00002600| 62 61 63 6b 46 61 63 74 | 6f 72 69 65 73 20 29 0d |backFact|ories ).|
|00002610| 0a 09 09 09 7b 0d 0a 09 | 09 09 09 46 61 6c 6c 62 |....{...|...Fallb|
|00002620| 61 63 6b 46 61 63 74 6f | 72 79 2b 2b 3b 0d 0a 09 |ackFacto|ry++;...|
|00002630| 09 09 09 69 66 28 20 4c | 69 73 74 46 61 63 74 6f |...if( L|istFacto|
|00002640| 72 69 65 73 5b 46 61 6c | 6c 62 61 63 6b 46 61 63 |ries[Fal|lbackFac|
|00002650| 74 6f 72 79 5d 20 21 3d | 20 22 22 20 29 0d 0a 09 |tory] !=| "" )...|
|00002660| 09 09 09 09 52 65 66 72 | 65 73 68 28 29 3b 09 2f |....Refr|esh();./|
|00002670| 2f 20 74 72 79 20 74 68 | 65 20 6e 65 78 74 20 66 |/ try th|e next f|
|00002680| 61 6c 6c 62 61 63 6b 20 | 6d 61 73 74 65 72 20 73 |allback |master s|
|00002690| 65 72 76 65 72 0d 0a 09 | 09 09 09 65 6c 73 65 0d |erver...|...else.|
|000026a0| 0a 09 09 09 09 09 46 61 | 6c 6c 62 61 63 6b 46 61 |......Fa|llbackFa|
|000026b0| 63 74 6f 72 79 20 3d 20 | 30 3b 0d 0a 09 09 09 7d |ctory = |0;.....}|
|000026c0| 0d 0a 09 09 09 72 65 74 | 75 72 6e 3b 0d 0a 09 09 |.....ret|urn;....|
|000026d0| 7d 0d 0a 09 7d 0d 0a 09 | 65 6c 73 65 0d 0a 09 09 |}...}...|else....|
|000026e0| 45 72 72 6f 72 53 74 72 | 69 6e 67 20 3d 20 22 22 |ErrorStr|ing = ""|
|000026f0| 3b 0d 0a 0d 0a 09 69 66 | 28 62 44 6f 6e 65 29 0d |;.....if|(bDone).|
|00002700| 0a 09 7b 0d 0a 09 09 52 | 65 6d 6f 76 65 4f 6c 64 |..{....R|emoveOld|
|00002710| 53 65 72 76 65 72 73 28 | 29 3b 0d 0a 0d 0a 09 09 |Servers(|);......|
|00002720| 50 69 6e 67 53 74 61 74 | 65 20 3d 20 50 53 5f 50 |PingStat|e = PS_P|
|00002730| 69 6e 67 69 6e 67 3b 0d | 0a 09 09 69 66 28 21 62 |inging;.|...if(!b|
|00002740| 4e 6f 53 6f 72 74 20 26 | 26 20 21 46 61 63 74 2e |NoSort &|& !Fact.|
|00002750| 62 49 6e 63 72 65 6d 65 | 6e 74 61 6c 50 69 6e 67 |bIncreme|ntalPing|
|00002760| 29 0d 0a 09 09 09 50 69 | 6e 67 65 64 4c 69 73 74 |).....Pi|ngedList|
|00002770| 2e 53 6f 72 74 28 29 3b | 0d 0a 09 09 55 6e 70 69 |.Sort();|....Unpi|
|00002780| 6e 67 65 64 4c 69 73 74 | 2e 50 69 6e 67 53 65 72 |ngedList|.PingSer|
|00002790| 76 65 72 73 28 54 72 75 | 65 2c 20 62 4e 6f 53 6f |vers(Tru|e, bNoSo|
|000027a0| 72 74 20 7c 7c 20 46 61 | 63 74 2e 62 49 6e 63 72 |rt || Fa|ct.bIncr|
|000027b0| 65 6d 65 6e 74 61 6c 50 | 69 6e 67 29 3b 0d 0a 09 |ementalP|ing);...|
|000027c0| 7d 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |}..}....|function|
|000027d0| 20 50 69 6e 67 46 69 6e | 69 73 68 65 64 28 29 0d | PingFin|ished().|
|000027e0| 0a 7b 0d 0a 09 50 69 6e | 67 53 74 61 74 65 20 3d |.{...Pin|gState =|
|000027f0| 20 50 53 5f 44 6f 6e 65 | 3b 0d 0a 7d 0d 0a 0d 0a | PS_Done|;..}....|
|00002800| 66 75 6e 63 74 69 6f 6e | 20 43 72 65 61 74 65 46 |function| CreateF|
|00002810| 61 63 74 6f 72 69 65 73 | 28 62 6f 6f 6c 20 62 55 |actories|(bool bU|
|00002820| 73 65 50 69 6e 67 65 64 | 4c 69 73 74 29 0d 0a 7b |sePinged|List)..{|
|00002830| 0d 0a 09 6c 6f 63 61 6c | 20 69 6e 74 20 69 3b 0d |...local| int i;.|
|00002840| 0a 0d 0a 09 66 6f 72 28 | 69 3d 30 3b 69 3c 31 30 |....for(|i=0;i<10|
|00002850| 3b 69 2b 2b 29 0d 0a 09 | 7b 0d 0a 09 09 69 66 28 |;i++)...|{....if(|
|00002860| 4c 69 73 74 46 61 63 74 | 6f 72 69 65 73 5b 69 5d |ListFact|ories[i]|
|00002870| 20 3d 3d 20 22 22 29 0d | 0a 09 09 09 62 72 65 61 | == "").|....brea|
|00002880| 6b 3b 0d 0a 09 09 69 66 | 28 21 62 46 61 6c 6c 62 |k;....if|(!bFallb|
|00002890| 61 63 6b 46 61 63 74 6f | 72 69 65 73 20 7c 7c 20 |ackFacto|ries || |
|000028a0| 46 61 6c 6c 62 61 63 6b | 46 61 63 74 6f 72 79 20 |Fallback|Factory |
|000028b0| 3d 3d 20 69 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 46 |== i)...|.{.....F|
|000028c0| 61 63 74 6f 72 69 65 73 | 5b 69 5d 20 3d 20 55 42 |actories|[i] = UB|
|000028d0| 72 6f 77 73 65 72 53 65 | 72 76 65 72 4c 69 73 74 |rowserSe|rverList|
|000028e0| 46 61 63 74 6f 72 79 28 | 42 75 69 6c 64 4f 62 6a |Factory(|BuildObj|
|000028f0| 65 63 74 57 69 74 68 50 | 72 6f 70 65 72 74 69 65 |ectWithP|ropertie|
|00002900| 73 28 4c 69 73 74 46 61 | 63 74 6f 72 69 65 73 5b |s(ListFa|ctories[|
|00002910| 69 5d 29 29 3b 0d 0a 09 | 09 09 0d 0a 09 09 09 46 |i]));...|.......F|
|00002920| 61 63 74 6f 72 69 65 73 | 5b 69 5d 2e 50 69 6e 67 |actories|[i].Ping|
|00002930| 65 64 4c 69 73 74 20 3d | 20 50 69 6e 67 65 64 4c |edList =| PingedL|
|00002940| 69 73 74 3b 0d 0a 09 09 | 09 46 61 63 74 6f 72 69 |ist;....|.Factori|
|00002950| 65 73 5b 69 5d 2e 55 6e | 70 69 6e 67 65 64 4c 69 |es[i].Un|pingedLi|
|00002960| 73 74 20 3d 20 55 6e 70 | 69 6e 67 65 64 4c 69 73 |st = Unp|ingedLis|
|00002970| 74 3b 0d 0a 09 09 0d 0a | 09 09 09 69 66 28 62 55 |t;......|...if(bU|
|00002980| 73 65 50 69 6e 67 65 64 | 4c 69 73 74 29 0d 0a 09 |sePinged|List)...|
|00002990| 09 09 09 46 61 63 74 6f | 72 69 65 73 5b 69 5d 2e |...Facto|ries[i].|
|000029a0| 4f 77 6e 65 72 20 3d 20 | 50 69 6e 67 65 64 4c 69 |Owner = |PingedLi|
|000029b0| 73 74 3b 0d 0a 09 09 09 | 65 6c 73 65 0d 0a 09 09 |st;.....|else....|
|000029c0| 09 09 46 61 63 74 6f 72 | 69 65 73 5b 69 5d 2e 4f |..Factor|ies[i].O|
|000029d0| 77 6e 65 72 20 3d 20 55 | 6e 70 69 6e 67 65 64 4c |wner = U|npingedL|
|000029e0| 69 73 74 3b 0d 0a 09 09 | 7d 0d 0a 09 09 51 75 65 |ist;....|}....Que|
|000029f0| 72 79 44 6f 6e 65 5b 69 | 5d 20 3d 20 30 3b 0d 0a |ryDone[i|] = 0;..|
|00002a00| 09 7d 09 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |.}...}..|..functi|
|00002a10| 6f 6e 20 53 68 75 74 64 | 6f 77 6e 46 61 63 74 6f |on Shutd|ownFacto|
|00002a20| 72 69 65 73 28 6f 70 74 | 69 6f 6e 61 6c 20 62 6f |ries(opt|ional bo|
|00002a30| 6f 6c 20 62 42 79 53 75 | 70 65 72 73 65 74 29 0d |ol bBySu|perset).|
|00002a40| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 69 6e 74 20 69 |.{...loc|al int i|
|00002a50| 3b 0d 0a 0d 0a 09 66 6f | 72 28 69 3d 30 3b 69 3c |;.....fo|r(i=0;i<|
|00002a60| 31 30 3b 69 2b 2b 29 0d | 0a 09 7b 0d 0a 09 09 69 |10;i++).|..{....i|
|00002a70| 66 28 46 61 63 74 6f 72 | 69 65 73 5b 69 5d 20 21 |f(Factor|ies[i] !|
|00002a80| 3d 20 4e 6f 6e 65 29 20 | 0d 0a 09 09 7b 0d 0a 09 |= None) |....{...|
|00002a90| 09 09 46 61 63 74 6f 72 | 69 65 73 5b 69 5d 2e 53 |..Factor|ies[i].S|
|00002aa0| 68 75 74 64 6f 77 6e 28 | 62 42 79 53 75 70 65 72 |hutdown(|bBySuper|
|00002ab0| 73 65 74 29 3b 0d 0a 09 | 09 09 46 61 63 74 6f 72 |set);...|..Factor|
|00002ac0| 69 65 73 5b 69 5d 20 3d | 20 4e 6f 6e 65 3b 0d 0a |ies[i] =| None;..|
|00002ad0| 09 09 7d 0d 0a 09 7d 09 | 0d 0a 7d 0d 0a 0d 0a 66 |..}...}.|..}....f|
|00002ae0| 75 6e 63 74 69 6f 6e 20 | 51 75 65 72 79 28 6f 70 |unction |Query(op|
|00002af0| 74 69 6f 6e 61 6c 20 62 | 6f 6f 6c 20 62 42 79 53 |tional b|ool bByS|
|00002b00| 75 70 65 72 73 65 74 2c | 20 6f 70 74 69 6f 6e 61 |uperset,| optiona|
|00002b10| 6c 20 62 6f 6f 6c 20 62 | 49 6e 69 74 69 61 6c 2c |l bool b|Initial,|
|00002b20| 20 6f 70 74 69 6f 6e 61 | 6c 20 62 6f 6f 6c 20 62 | optiona|l bool b|
|00002b30| 49 6e 4e 6f 53 6f 72 74 | 29 0d 0a 7b 0d 0a 09 6c |InNoSort|)..{...l|
|00002b40| 6f 63 61 6c 20 69 6e 74 | 20 69 3b 0d 0a 0d 0a 09 |ocal int| i;.....|
|00002b50| 62 4e 6f 53 6f 72 74 20 | 3d 20 62 49 6e 4e 6f 53 |bNoSort |= bInNoS|
|00002b60| 6f 72 74 3b 0d 0a 0d 0a | 09 2f 2f 20 51 75 65 72 |ort;....|.// Quer|
|00002b70| 79 20 61 6c 6c 20 6f 75 | 72 20 66 61 63 74 6f 72 |y all ou|r factor|
|00002b80| 69 65 73 0d 0a 09 66 6f | 72 28 69 3d 30 3b 69 3c |ies...fo|r(i=0;i<|
|00002b90| 31 30 3b 69 2b 2b 29 0d | 0a 09 7b 0d 0a 09 09 69 |10;i++).|..{....i|
|00002ba0| 66 28 46 61 63 74 6f 72 | 69 65 73 5b 69 5d 20 21 |f(Factor|ies[i] !|
|00002bb0| 3d 20 4e 6f 6e 65 29 0d | 0a 09 09 09 46 61 63 74 |= None).|....Fact|
|00002bc0| 6f 72 69 65 73 5b 69 5d | 2e 51 75 65 72 79 28 62 |ories[i]|.Query(b|
|00002bd0| 42 79 53 75 70 65 72 73 | 65 74 2c 20 62 49 6e 69 |BySupers|et, bIni|
|00002be0| 74 69 61 6c 29 3b 0d 0a | 09 7d 0d 0a 7d 0d 0a 0d |tial);..|.}..}...|
|00002bf0| 0a 66 75 6e 63 74 69 6f | 6e 20 50 61 69 6e 74 28 |.functio|n Paint(|
|00002c00| 43 61 6e 76 61 73 20 43 | 2c 20 66 6c 6f 61 74 20 |Canvas C|, float |
|00002c10| 58 2c 20 66 6c 6f 61 74 | 20 59 29 0d 0a 7b 0d 0a |X, float| Y)..{..|
|00002c20| 09 44 72 61 77 53 74 72 | 65 74 63 68 65 64 54 65 |.DrawStr|etchedTe|
|00002c30| 78 74 75 72 65 28 43 2c | 20 30 2c 20 30 2c 20 57 |xture(C,| 0, 0, W|
|00002c40| 69 6e 57 69 64 74 68 2c | 20 57 69 6e 48 65 69 67 |inWidth,| WinHeig|
|00002c50| 68 74 2c 20 54 65 78 74 | 75 72 65 27 42 6c 61 63 |ht, Text|ure'Blac|
|00002c60| 6b 54 65 78 74 75 72 65 | 27 29 3b 0d 0a 7d 0d 0a |kTexture|');..}..|
|00002c70| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 54 69 63 6b 28 |..functi|on Tick(|
|00002c80| 66 6c 6f 61 74 20 44 65 | 6c 74 61 29 0d 0a 7b 0d |float De|lta)..{.|
|00002c90| 0a 09 50 69 6e 67 65 64 | 4c 69 73 74 2e 54 69 63 |..Pinged|List.Tic|
|00002ca0| 6b 28 44 65 6c 74 61 29 | 3b 0d 0a 0d 0a 09 69 66 |k(Delta)|;.....if|
|00002cb0| 28 50 69 6e 67 65 64 4c | 69 73 74 2e 62 4e 65 65 |(PingedL|ist.bNee|
|00002cc0| 64 55 70 64 61 74 65 43 | 6f 75 6e 74 29 0d 0a 09 |dUpdateC|ount)...|
|00002cd0| 7b 0d 0a 09 09 50 69 6e | 67 65 64 4c 69 73 74 2e |{....Pin|gedList.|
|00002ce0| 55 70 64 61 74 65 53 65 | 72 76 65 72 43 6f 75 6e |UpdateSe|rverCoun|
|00002cf0| 74 28 29 3b 0d 0a 09 09 | 50 69 6e 67 65 64 4c 69 |t();....|PingedLi|
|00002d00| 73 74 2e 62 4e 65 65 64 | 55 70 64 61 74 65 43 6f |st.bNeed|UpdateCo|
|00002d10| 75 6e 74 20 3d 20 46 61 | 6c 73 65 3b 0d 0a 09 7d |unt = Fa|lse;...}|
|00002d20| 0d 0a 0d 0a 09 2f 2f 20 | 41 75 74 6f 52 65 66 72 |.....// |AutoRefr|
|00002d30| 65 73 68 20 6c 6f 63 61 | 6c 20 73 65 72 76 65 72 |esh loca|l server|
|00002d40| 73 0d 0a 09 69 66 28 41 | 75 74 6f 52 65 66 72 65 |s...if(A|utoRefre|
|00002d50| 73 68 54 69 6d 65 20 3e | 20 30 29 0d 0a 09 7b 0d |shTime >| 0)...{.|
|00002d60| 0a 09 09 54 69 6d 65 45 | 6c 61 70 73 65 64 20 2b |...TimeE|lapsed +|
|00002d70| 3d 20 44 65 6c 74 61 3b | 0d 0a 09 09 0d 0a 09 09 |= Delta;|........|
|00002d80| 69 66 28 54 69 6d 65 45 | 6c 61 70 73 65 64 20 3e |if(TimeE|lapsed >|
|00002d90| 20 41 75 74 6f 52 65 66 | 72 65 73 68 54 69 6d 65 | AutoRef|reshTime|
|00002da0| 29 0d 0a 09 09 7b 0d 0a | 09 09 09 54 69 6d 65 45 |)....{..|...TimeE|
|00002db0| 6c 61 70 73 65 64 20 3d | 20 30 3b 0d 0a 09 09 09 |lapsed =| 0;.....|
|00002dc0| 52 65 66 72 65 73 68 28 | 2c 2c 54 72 75 65 2c 20 |Refresh(|,,True, |
|00002dd0| 62 4e 6f 41 75 74 6f 53 | 6f 72 74 29 3b 0d 0a 09 |bNoAutoS|ort);...|
|00002de0| 09 7d 0d 0a 09 7d 09 0d | 0a 7d 0d 0a 0d 0a 66 75 |.}...}..|.}....fu|
|00002df0| 6e 63 74 69 6f 6e 20 42 | 65 66 6f 72 65 50 61 69 |nction B|eforePai|
|00002e00| 6e 74 28 43 61 6e 76 61 | 73 20 43 2c 20 66 6c 6f |nt(Canva|s C, flo|
|00002e10| 61 74 20 58 2c 20 66 6c | 6f 61 74 20 59 29 0d 0a |at X, fl|oat Y)..|
|00002e20| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 55 42 72 6f 77 73 |{...loca|l UBrows|
|00002e30| 65 72 4d 61 69 6e 57 69 | 6e 64 6f 77 20 57 3b 0d |erMainWi|ndow W;.|
|00002e40| 0a 09 6c 6f 63 61 6c 20 | 55 42 72 6f 77 73 65 72 |..local |UBrowser|
|00002e50| 53 75 70 65 72 73 65 74 | 4c 69 73 74 20 6c 3b 0d |Superset|List l;.|
|00002e60| 0a 09 6c 6f 63 61 6c 20 | 45 50 69 6e 67 53 74 61 |..local |EPingSta|
|00002e70| 74 65 20 50 3b 0d 0a 09 | 6c 6f 63 61 6c 20 69 6e |te P;...|local in|
|00002e80| 74 20 50 65 72 63 65 6e | 74 43 6f 6d 70 6c 65 74 |t Percen|tComplet|
|00002e90| 65 3b 0d 0a 09 6c 6f 63 | 61 6c 20 69 6e 74 20 54 |e;...loc|al int T|
|00002ea0| 6f 74 61 6c 52 65 74 75 | 72 6e 65 64 53 65 72 76 |otalRetu|rnedServ|
|00002eb0| 65 72 73 3b 0d 0a 09 6c | 6f 63 61 6c 20 73 74 72 |ers;...l|ocal str|
|00002ec0| 69 6e 67 20 45 3b 0d 0a | 09 6c 6f 63 61 6c 20 69 |ing E;..|.local i|
|00002ed0| 6e 74 20 54 6f 74 61 6c | 53 65 72 76 65 72 73 3b |nt Total|Servers;|
|00002ee0| 0d 0a 09 6c 6f 63 61 6c | 20 69 6e 74 20 50 69 6e |...local| int Pin|
|00002ef0| 67 65 64 53 65 72 76 65 | 72 73 3b 0d 0a 09 6c 6f |gedServe|rs;...lo|
|00002f00| 63 61 6c 20 69 6e 74 20 | 4d 79 53 65 72 76 65 72 |cal int |MyServer|
|00002f10| 73 3b 0d 0a 0d 0a 09 53 | 75 70 65 72 2e 42 65 66 |s;.....S|uper.Bef|
|00002f20| 6f 72 65 50 61 69 6e 74 | 28 43 2c 20 58 2c 20 59 |orePaint|(C, X, Y|
|00002f30| 29 3b 0d 0a 0d 0a 09 57 | 20 3d 20 55 42 72 6f 77 |);.....W| = UBrow|
|00002f40| 73 65 72 4d 61 69 6e 57 | 69 6e 64 6f 77 28 47 65 |serMainW|indow(Ge|
|00002f50| 74 50 61 72 65 6e 74 28 | 63 6c 61 73 73 27 55 42 |tParent(|class'UB|
|00002f60| 72 6f 77 73 65 72 4d 61 | 69 6e 57 69 6e 64 6f 77 |rowserMa|inWindow|
|00002f70| 27 29 29 3b 0d 0a 09 6c | 20 3d 20 55 42 72 6f 77 |'));...l| = UBrow|
|00002f80| 73 65 72 53 75 70 65 72 | 73 65 74 4c 69 73 74 28 |serSuper|setList(|
|00002f90| 53 75 70 65 72 73 65 74 | 4c 69 73 74 2e 4e 65 78 |Superset|List.Nex|
|00002fa0| 74 29 3b 0d 0a 0d 0a 09 | 69 66 28 6c 20 21 3d 20 |t);.....|if(l != |
|00002fb0| 4e 6f 6e 65 20 26 26 20 | 50 69 6e 67 53 74 61 74 |None && |PingStat|
|00002fc0| 65 20 21 3d 20 50 53 5f | 52 65 50 69 6e 67 69 6e |e != PS_|RePingin|
|00002fd0| 67 29 0d 0a 09 7b 0d 0a | 09 09 50 20 3d 20 6c 2e |g)...{..|..P = l.|
|00002fe0| 53 75 70 65 72 73 65 74 | 57 69 6e 64 6f 77 2e 50 |Superset|Window.P|
|00002ff0| 69 6e 67 53 74 61 74 65 | 3b 0d 0a 09 09 50 69 6e |ingState|;....Pin|
|00003000| 67 53 74 61 74 65 20 3d | 20 50 3b 0d 0a 0d 0a 09 |gState =| P;.....|
|00003010| 09 69 66 28 50 20 3d 3d | 20 50 53 5f 51 75 65 72 |.if(P ==| PS_Quer|
|00003020| 79 53 65 72 76 65 72 29 | 0d 0a 09 09 09 54 6f 74 |yServer)|.....Tot|
|00003030| 61 6c 52 65 74 75 72 6e | 65 64 53 65 72 76 65 72 |alReturn|edServer|
|00003040| 73 20 3d 20 6c 2e 53 75 | 70 65 72 73 65 74 57 69 |s = l.Su|persetWi|
|00003050| 6e 64 6f 77 2e 55 6e 70 | 69 6e 67 65 64 4c 69 73 |ndow.Unp|ingedLis|
|00003060| 74 2e 43 6f 75 6e 74 28 | 29 3b 0d 0a 0d 0a 09 09 |t.Count(|);......|
|00003070| 50 69 6e 67 65 64 53 65 | 72 76 65 72 73 20 3d 20 |PingedSe|rvers = |
|00003080| 6c 2e 53 75 70 65 72 73 | 65 74 57 69 6e 64 6f 77 |l.Supers|etWindow|
|00003090| 2e 50 69 6e 67 65 64 4c | 69 73 74 2e 43 6f 75 6e |.PingedL|ist.Coun|
|000030a0| 74 28 29 3b 0d 0a 09 09 | 54 6f 74 61 6c 53 65 72 |t();....|TotalSer|
|000030b0| 76 65 72 73 20 3d 20 6c | 2e 53 75 70 65 72 73 65 |vers = l|.Superse|
|000030c0| 74 57 69 6e 64 6f 77 2e | 55 6e 70 69 6e 67 65 64 |tWindow.|Unpinged|
|000030d0| 4c 69 73 74 2e 43 6f 75 | 6e 74 28 29 20 2b 20 50 |List.Cou|nt() + P|
|000030e0| 69 6e 67 65 64 53 65 72 | 76 65 72 73 3b 0d 0a 09 |ingedSer|vers;...|
|000030f0| 09 4d 79 53 65 72 76 65 | 72 73 20 3d 20 50 69 6e |.MyServe|rs = Pin|
|00003100| 67 65 64 4c 69 73 74 2e | 46 61 73 74 43 6f 75 6e |gedList.|FastCoun|
|00003110| 74 53 68 6f 77 6e 28 29 | 3b 0d 0a 09 0d 0a 09 09 |tShown()|;.......|
|00003120| 45 20 3d 20 6c 2e 53 75 | 70 65 72 73 65 74 57 69 |E = l.Su|persetWi|
|00003130| 6e 64 6f 77 2e 45 72 72 | 6f 72 53 74 72 69 6e 67 |ndow.Err|orString|
|00003140| 3b 0d 0a 09 7d 0d 0a 09 | 65 6c 73 65 0d 0a 09 7b |;...}...|else...{|
|00003150| 0d 0a 09 09 50 20 3d 20 | 50 69 6e 67 53 74 61 74 |....P = |PingStat|
|00003160| 65 3b 0d 0a 09 09 69 66 | 28 50 20 3d 3d 20 50 53 |e;....if|(P == PS|
|00003170| 5f 51 75 65 72 79 53 65 | 72 76 65 72 29 0d 0a 09 |_QuerySe|rver)...|
|00003180| 09 09 54 6f 74 61 6c 52 | 65 74 75 72 6e 65 64 53 |..TotalR|eturnedS|
|00003190| 65 72 76 65 72 73 20 3d | 20 55 6e 70 69 6e 67 65 |ervers =| Unpinge|
|000031a0| 64 4c 69 73 74 2e 43 6f | 75 6e 74 28 29 3b 0d 0a |dList.Co|unt();..|
|000031b0| 0d 0a 09 09 50 69 6e 67 | 65 64 53 65 72 76 65 72 |....Ping|edServer|
|000031c0| 73 20 3d 20 50 69 6e 67 | 65 64 4c 69 73 74 2e 43 |s = Ping|edList.C|
|000031d0| 6f 75 6e 74 28 29 3b 0d | 0a 09 09 54 6f 74 61 6c |ount();.|...Total|
|000031e0| 53 65 72 76 65 72 73 20 | 3d 20 55 6e 70 69 6e 67 |Servers |= Unping|
|000031f0| 65 64 4c 69 73 74 2e 43 | 6f 75 6e 74 28 29 20 2b |edList.C|ount() +|
|00003200| 20 50 69 6e 67 65 64 53 | 65 72 76 65 72 73 3b 0d | PingedS|ervers;.|
|00003210| 0a 09 09 4d 79 53 65 72 | 76 65 72 73 20 3d 20 50 |...MySer|vers = P|
|00003220| 69 6e 67 65 64 4c 69 73 | 74 2e 46 61 73 74 43 6f |ingedLis|t.FastCo|
|00003230| 75 6e 74 53 68 6f 77 6e | 28 29 3b 0d 0a 0d 0a 09 |untShown|();.....|
|00003240| 09 45 20 3d 20 45 72 72 | 6f 72 53 74 72 69 6e 67 |.E = Err|orString|
|00003250| 3b 0d 0a 09 7d 0d 0a 0d | 0a 09 69 66 28 54 6f 74 |;...}...|..if(Tot|
|00003260| 61 6c 53 65 72 76 65 72 | 73 20 3e 20 30 29 0d 0a |alServer|s > 0)..|
|00003270| 09 09 50 65 72 63 65 6e | 74 43 6f 6d 70 6c 65 74 |..Percen|tComplet|
|00003280| 65 20 3d 20 50 69 6e 67 | 65 64 53 65 72 76 65 72 |e = Ping|edServer|
|00003290| 73 2a 31 30 30 2e 30 2f | 54 6f 74 61 6c 53 65 72 |s*100.0/|TotalSer|
|000032a0| 76 65 72 73 3b 0d 0a 0d | 0a 09 73 77 69 74 63 68 |vers;...|..switch|
|000032b0| 28 50 29 0d 0a 09 7b 0d | 0a 09 63 61 73 65 20 50 |(P)...{.|..case P|
|000032c0| 53 5f 51 75 65 72 79 53 | 65 72 76 65 72 3a 0d 0a |S_QueryS|erver:..|
|000032d0| 09 09 69 66 28 54 6f 74 | 61 6c 52 65 74 75 72 6e |..if(Tot|alReturn|
|000032e0| 65 64 53 65 72 76 65 72 | 73 20 3e 20 30 29 0d 0a |edServer|s > 0)..|
|000032f0| 09 09 09 57 2e 44 65 66 | 61 75 6c 74 53 74 61 74 |...W.Def|aultStat|
|00003300| 75 73 42 61 72 54 65 78 | 74 28 51 75 65 72 79 53 |usBarTex|t(QueryS|
|00003310| 65 72 76 65 72 54 65 78 | 74 24 22 20 28 22 24 54 |erverTex|t$" ("$T|
|00003320| 6f 74 61 6c 52 65 74 75 | 72 6e 65 64 53 65 72 76 |otalRetu|rnedServ|
|00003330| 65 72 73 24 22 20 22 24 | 53 65 72 76 65 72 43 6f |ers$" "$|ServerCo|
|00003340| 75 6e 74 4e 61 6d 65 24 | 22 29 22 29 3b 0d 0a 09 |untName$|")");...|
|00003350| 09 65 6c 73 65 0d 0a 09 | 09 09 57 2e 44 65 66 61 |.else...|..W.Defa|
|00003360| 75 6c 74 53 74 61 74 75 | 73 42 61 72 54 65 78 74 |ultStatu|sBarText|
|00003370| 28 51 75 65 72 79 53 65 | 72 76 65 72 54 65 78 74 |(QuerySe|rverText|
|00003380| 29 3b 0d 0a 09 09 62 72 | 65 61 6b 3b 0d 0a 09 63 |);....br|eak;...c|
|00003390| 61 73 65 20 50 53 5f 51 | 75 65 72 79 46 61 69 6c |ase PS_Q|ueryFail|
|000033a0| 65 64 3a 0d 0a 09 09 57 | 2e 44 65 66 61 75 6c 74 |ed:....W|.Default|
|000033b0| 53 74 61 74 75 73 42 61 | 72 54 65 78 74 28 51 75 |StatusBa|rText(Qu|
|000033c0| 65 72 79 46 61 69 6c 65 | 64 54 65 78 74 24 45 29 |eryFaile|dText$E)|
|000033d0| 3b 0d 0a 09 09 62 72 65 | 61 6b 3b 0d 0a 09 63 61 |;....bre|ak;...ca|
|000033e0| 73 65 20 50 53 5f 50 69 | 6e 67 69 6e 67 3a 0d 0a |se PS_Pi|nging:..|
|000033f0| 09 63 61 73 65 20 50 53 | 5f 52 65 50 69 6e 67 69 |.case PS|_RePingi|
|00003400| 6e 67 3a 0d 0a 09 09 57 | 2e 44 65 66 61 75 6c 74 |ng:....W|.Default|
|00003410| 53 74 61 74 75 73 42 61 | 72 54 65 78 74 28 50 69 |StatusBa|rText(Pi|
|00003420| 6e 67 69 6e 67 54 65 78 | 74 24 22 20 22 24 50 65 |ngingTex|t$" "$Pe|
|00003430| 72 63 65 6e 74 43 6f 6d | 70 6c 65 74 65 24 22 25 |rcentCom|plete$"%|
|00003440| 20 22 24 43 6f 6d 70 6c | 65 74 65 54 65 78 74 24 | "$Compl|eteText$|
|00003450| 22 2e 20 22 24 4d 79 53 | 65 72 76 65 72 73 24 22 |". "$MyS|ervers$"|
|00003460| 20 22 24 53 65 72 76 65 | 72 43 6f 75 6e 74 4e 61 | "$Serve|rCountNa|
|00003470| 6d 65 24 22 2c 20 22 24 | 50 69 6e 67 65 64 4c 69 |me$", "$|PingedLi|
|00003480| 73 74 2e 54 6f 74 61 6c | 50 6c 61 79 65 72 73 24 |st.Total|Players$|
|00003490| 22 20 22 24 50 6c 61 79 | 65 72 43 6f 75 6e 74 4e |" "$Play|erCountN|
|000034a0| 61 6d 65 29 3b 0d 0a 09 | 09 62 72 65 61 6b 3b 0d |ame);...|.break;.|
|000034b0| 0a 09 63 61 73 65 20 50 | 53 5f 44 6f 6e 65 3a 0d |..case P|S_Done:.|
|000034c0| 0a 09 09 57 2e 44 65 66 | 61 75 6c 74 53 74 61 74 |...W.Def|aultStat|
|000034d0| 75 73 42 61 72 54 65 78 | 74 28 4d 79 53 65 72 76 |usBarTex|t(MyServ|
|000034e0| 65 72 73 24 22 20 22 24 | 53 65 72 76 65 72 43 6f |ers$" "$|ServerCo|
|000034f0| 75 6e 74 4e 61 6d 65 24 | 22 2c 20 22 24 50 69 6e |untName$|", "$Pin|
|00003500| 67 65 64 4c 69 73 74 2e | 54 6f 74 61 6c 50 6c 61 |gedList.|TotalPla|
|00003510| 79 65 72 73 24 22 20 22 | 24 50 6c 61 79 65 72 43 |yers$" "|$PlayerC|
|00003520| 6f 75 6e 74 4e 61 6d 65 | 29 3b 0d 0a 09 09 62 72 |ountName|);....br|
|00003530| 65 61 6b 3b 0d 0a 09 7d | 0d 0a 7d 0d 0a 0d 0a 00 |eak;...}|..}.....|
+--------+-------------------------+-------------------------+--------+--------+